Browse Source

DATAMONGO-1424 - Polishing.

Remove EndingWith from NotLike. Remove superfluous white-spaces. Split combined highlighted keywords to individual highlighting.

Original pull request: #364.
pull/367/head
Mark Paluch 10 years ago
parent
commit
c3e894ee8d
  1. 10
      src/main/asciidoc/reference/mongo-repositories.adoc

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

@ -196,11 +196,11 @@ NOTE: Note that for version 1.0 we currently don't support referring to paramete
| `findByAgeNotIn(Collection ages)` | `findByAgeNotIn(Collection ages)`
| `{"age" : {"$nin" : [ages...]}}` | `{"age" : {"$nin" : [ages...]}}`
| `IsNotNull, NotNull` | `IsNotNull`, `NotNull`
| `findByFirstnameNotNull()` | `findByFirstnameNotNull()`
| `{"firstname" : {"$ne" : null}}` | `{"firstname" : {"$ne" : null}}`
| `IsNull, Null` | `IsNull`, `Null`
| `findByFirstnameNull()` | `findByFirstnameNull()`
| `{"firstname" : null}` | `{"firstname" : null}`
@ -208,7 +208,7 @@ NOTE: Note that for version 1.0 we currently don't support referring to paramete
| `findByFirstnameLike(String name)` | `findByFirstnameLike(String name)`
| `{"firstname" : name} (name as regex)` | `{"firstname" : name} (name as regex)`
| `NotLike`, `IsNotLike`, `EndingWith` | `NotLike`, `IsNotLike`
| `findByFirstnameNotLike(String name)` | `findByFirstnameNotLike(String name)`
| `{"firstname" : { "$not" : name }} (name as regex)` | `{"firstname" : { "$not" : name }} (name as regex)`
@ -260,11 +260,11 @@ NOTE: Note that for version 1.0 we currently don't support referring to paramete
| `findByLocationWithin(Box box)` | `findByLocationWithin(Box box)`
| `{"location" : {"$geoWithin" : {"$box" : [ [x1, y1], x2, y2]}}}` | `{"location" : {"$geoWithin" : {"$box" : [ [x1, y1], x2, y2]}}}`
| `IsTrue, True` | `IsTrue`, `True`
| `findByActiveIsTrue()` | `findByActiveIsTrue()`
| `{"active" : true}` | `{"active" : true}`
| `IsFalse, False` | `IsFalse`, `False`
| `findByActiveIsFalse()` | `findByActiveIsFalse()`
| `{"active" : false}` | `{"active" : false}`

Loading…
Cancel
Save