Add support for $sampleRate criteria.

Closes #3726
Original pull request: #3765.
This commit is contained in:
James McNee
2021-08-26 21:25:36 +01:00
committed by Mark Paluch
parent 69b582823a
commit 62eb719b1e
3 changed files with 36 additions and 0 deletions

View File

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