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:
Mihail Cornescu
2022-01-25 21:05:39 +02:00
committed by Christoph Strobl
parent f62feac421
commit 423e10b7bc

View File

@@ -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.