Add IgnoreCase to repository queries documentation.
Update reference documentaion and add missing IgnoreCase keyword. Closes: #3916 Original Pull Request: #3950
This commit is contained in:
committed by
Christoph Strobl
parent
f62feac421
commit
423e10b7bc
@@ -281,6 +281,10 @@ lower / upper bounds (`$gt` / `$gte` & `$lt` / `$lte`) according to `Range`
|
||||
| `Exists`
|
||||
| `findByLocationExists(boolean exists)`
|
||||
| `{"location" : {"$exists" : exists }}`
|
||||
|
||||
| `IgnoreCase`
|
||||
| `findByUsernameIgnoreCase(String username)`
|
||||
| `{"username" : {"$regex" : "^username$", "$options" : "i" }}`
|
||||
|===
|
||||
|
||||
NOTE: If the property criterion compares a document, the order of the fields and exact equality in the document matters.
|
||||
|
||||
Reference in New Issue
Block a user