DATAMONGO-1425 - Polishing.

Add NotContaining to documentation. Add integration test for Containing/NotContaining on collection properties.

Original pull request: #363.
This commit is contained in:
Mark Paluch
2016-05-09 10:41:24 +02:00
parent 3829d58dc2
commit e03520d2fb
3 changed files with 36 additions and 0 deletions

View File

@@ -212,10 +212,18 @@ NOTE: Note that for version 1.0 we currently don't support referring to paramete
| `findByFirstnameContaining(String name)`
| `{"firstname" : name} (name as regex)`
| `NotContaining` on String
| `findByFirstnameNotContaining(String name)`
| `{"firstname" : { "$not" : name}} (name as regex)`
| `Containing` on Collection
| `findByAddressesContaining(Address address)`
| `{"addresses" : { "$in" : address}}`
| `NotContaining` on Collection
| `findByAddressesNotContaining(Address address)`
| `{"addresses" : { "$not" : { "$in" : address}}}`
| `Regex`
| `findByFirstnameRegex(String firstname)`
| `{"firstname" : {"$regex" : firstname }}`