Skip to content

Commit 10ca58c

Browse files
mihailcornescuchristophstrobl
authored andcommitted
Add IgnoreCase to repository queries documentation.
Update reference documentaion and add missing IgnoreCase keyword. Closes: #3916 Original Pull Request: #3950
1 parent 5a3b4f8 commit 10ca58c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/asciidoc/reference/mongo-repositories.adoc

+4
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,10 @@ lower / upper bounds (`$gt` / `$gte` & `$lt` / `$lte`) according to `Range`
281281
| `Exists`
282282
| `findByLocationExists(boolean exists)`
283283
| `{"location" : {"$exists" : exists }}`
284+
285+
| `IgnoreCase`
286+
| `findByUsernameIgnoreCase(String username)`
287+
| `{"username" : {"$regex" : "^username$", "$options" : "i" }}`
284288
|===
285289

286290
NOTE: If the property criterion compares a document, the order of the fields and exact equality in the document matters.

0 commit comments

Comments
 (0)