This commit is contained in:
@@ -77,7 +77,28 @@ The `op` property must be a valid filter operation type. The 10 possible values
|
|||||||
|
|
||||||
Note that not all op values are valid for all data types, for example a date doesn't support a Contains type operator.
|
Note that not all op values are valid for all data types, for example a date doesn't support a Contains type operator.
|
||||||
|
|
||||||
The `value` property
|
The optional `value` property is usually a direct comparison type value such as a date or string or numeric value.
|
||||||
|
However, in the case of filters on Date fields it can be one of several date range tokens that provide a pre-defined range of dates:
|
||||||
|
|
||||||
|
| TOKEN | MEANING |
|
||||||
|
| ----- | ------------------------------ |
|
||||||
|
| {[yesterday]} | Include records where `fld` contains a date and time between 12:00 am yesterday morning (zero hour) and 12:00 am today |
|
||||||
|
| {[today]} | Include records where `fld` contains a date and time between 12:00 am today and 12:00 am tomorrow |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
| XXX | |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
For example the following filter array JSON (in string format) will return only items where the Name starts with "Bob" and the Notes field exactly equals "Aardvark":
|
For example the following filter array JSON (in string format) will return only items where the Name starts with "Bob" and the Notes field exactly equals "Aardvark":
|
||||||
|
|||||||
Reference in New Issue
Block a user