From c3e894ee8d9294ab7c43bb12bed8af6bd44c9abe Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 9 May 2016 11:06:44 +0200 Subject: [PATCH] DATAMONGO-1424 - Polishing. Remove EndingWith from NotLike. Remove superfluous white-spaces. Split combined highlighted keywords to individual highlighting. Original pull request: #364. --- .../asciidoc/reference/mongo-repositories.adoc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/asciidoc/reference/mongo-repositories.adoc b/src/main/asciidoc/reference/mongo-repositories.adoc index eaf2697d7..a90567070 100644 --- a/src/main/asciidoc/reference/mongo-repositories.adoc +++ b/src/main/asciidoc/reference/mongo-repositories.adoc @@ -196,21 +196,21 @@ NOTE: Note that for version 1.0 we currently don't support referring to paramete | `findByAgeNotIn(Collection ages)` | `{"age" : {"$nin" : [ages...]}}` -| `IsNotNull, NotNull` +| `IsNotNull`, `NotNull` | `findByFirstnameNotNull()` | `{"firstname" : {"$ne" : null}}` -| `IsNull, Null` +| `IsNull`, `Null` | `findByFirstnameNull()` | `{"firstname" : null}` | `Like`, `StartingWith`, `EndingWith` | `findByFirstnameLike(String name)` -| `{"firstname" : name} ( name as regex)` +| `{"firstname" : name} (name as regex)` -| `NotLike`, `IsNotLike`, `EndingWith` +| `NotLike`, `IsNotLike` | `findByFirstnameNotLike(String name)` -| `{"firstname" : { "$not" : name }} ( name as regex)` +| `{"firstname" : { "$not" : name }} (name as regex)` | `Containing` on String | `findByFirstnameContaining(String name)` @@ -260,11 +260,11 @@ NOTE: Note that for version 1.0 we currently don't support referring to paramete | `findByLocationWithin(Box box)` | `{"location" : {"$geoWithin" : {"$box" : [ [x1, y1], x2, y2]}}}` -| `IsTrue, True` +| `IsTrue`, `True` | `findByActiveIsTrue()` | `{"active" : true}` -| `IsFalse, False` +| `IsFalse`, `False` | `findByActiveIsFalse()` | `{"active" : false}`