This commit is contained in:
2018-12-20 00:46:28 +00:00
parent f289d82afb
commit 64be3e0475

View File

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