mirror of https://github.com/dapr/docs.git
Merge pull request #3906 from luigirende/v1.12
Add new operations in the query request for state component
This commit is contained in:
commit
2602ab4216
|
@ -28,9 +28,14 @@ The `filter` specifies the query conditions in the form of a tree, where each no
|
|||
|
||||
The following operations are supported:
|
||||
|
||||
| Operator | Operands | Description |
|
||||
|----------|-------------|--------------|
|
||||
| `EQ` | key:value | key == value |
|
||||
| Operator | Operands | Description |
|
||||
|----------|-------------|--------------------------------------------------------------|
|
||||
| `EQ` | key:value | key == value |
|
||||
| `NEQ` | key:value | key != value |
|
||||
| `GT` | key:value | key > value |
|
||||
| `GTE` | key:value | key >= value |
|
||||
| `LT` | key:value | key < value |
|
||||
| `LTE` | key:value | key <= value |
|
||||
| `IN` | key:[]value | key == value[0] OR key == value[1] OR ... OR key == value[n] |
|
||||
| `AND` | []operation | operation[0] AND operation[1] AND ... AND operation[n] |
|
||||
| `OR` | []operation | operation[0] OR operation[1] OR ... OR operation[n] |
|
||||
|
|
Loading…
Reference in New Issue