✨ any + all
This commit is contained in:
parent
b1ad069731
commit
89517943f2
3 changed files with 118 additions and 1 deletions
|
@ -132,6 +132,18 @@ Evaluates to `true` if the value contains the text.
|
|||
{ "key": { "$contains": "text" }}
|
||||
```
|
||||
|
||||
### `$any`
|
||||
Evaluates to `true` if any value matches the filter.
|
||||
```json
|
||||
{ "array": { "$any": { "$regex": "text" }}}
|
||||
```
|
||||
|
||||
### `$all`
|
||||
Evaluates to `true` if all value matches the filter.
|
||||
```json
|
||||
{ "array": { "$all": { "$regex": "text" }}}
|
||||
```
|
||||
|
||||
## Misc Operators
|
||||
### `$type`
|
||||
Evaluates to `true` if the value matches the specified type.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue