Add support for $sampleRate criteria.
Closes #3726 Original pull request: #3765.
This commit is contained in:
@@ -281,6 +281,10 @@ lower / upper bounds (`$gt` / `$gte` & `$lt` / `$lte`) according to `Range`
|
||||
| `Exists`
|
||||
| `findByLocationExists(boolean exists)`
|
||||
| `{"location" : {"$exists" : exists }}`
|
||||
|
||||
| `SampleRate`
|
||||
| `sampleRate(double sampleRate)`
|
||||
| `{"$sampleRate" : sampleRate }`
|
||||
|===
|
||||
|
||||
NOTE: If the property criterion compares a document, the order of the fields and exact equality in the document matters.
|
||||
|
||||
Reference in New Issue
Block a user