...
General features | |||||
---|---|---|---|---|---|
= == | Compare field with a value. You can use both "=" and "==". These and other operators can be used with most field types.
Use double quotes with strings. Inside a string literal, a double quote is written as two consecutive double quotes:
| ||||
>, < >=, <= | To compare numeric field values and dates.
| ||||
!= <> | Not equal operators. Both have the same function. | ||||
AND && | Boolean "and" to combine conditions.
| ||||
OR || |
| ||||
!= | Not equal.
| ||||
( ) | Brackets can be used to combine multiple conditions:
| ||||
! NOT | Negation:
| ||||
x ? y : z | Evaluates y if x is true, evaluates z if x is false.
| ||||
null | Literal to evaluate if a field is null or not:
| ||||
Numbers | |||||
+ - * / | Numeric operators.
| ||||
Strings | |||||
.StartsWith .EndsWith .Contains | Various operators to search string fields by prefix, suffix or infix. Use NOT to negate.
| ||||
.Length | To query by string length:
| ||||
Dates | You can use the DateTime object to compare dates. | ||||
To compare a date:
Or with hours, minutes and seconds:
|
...