-
Notifications
You must be signed in to change notification settings - Fork 2
Syntax
Marcel edited this page Apr 25, 2022
·
3 revisions
- Fields must exist in the object that was passed.
- A point (
.) in the field name signals index access, so a field namedfriends.0.address.streetwould also translate to a call todata.friends[0].address.street. - Fields must start with an alphabetical character and can contain only alphanumeric characters,
., and_, unless surrounded by accent quotation marks, e.g.`$up30dy`.
- Values can either be numeric (e.g.
18or3.14) or must be surrounded by single or double quotation marks (e.g.'James Bond'). - Arrays can be defined using parentheses and can only be combined with the operators
inandnot in. Array items are separated by using a space or a comma. E.g.city in ('Berlin', 'Paris', 'Athens')andcity in ('Berlin' 'Paris' 'Athens')are equivalent.
The escaping symbol \ can be used to escape quotation marks inside a field or value definition.
| Syntax | Description |
|---|---|
= |
Equal |
> |
Greater than |
>= |
Greater than or equal |
< |
Less than |
<= |
Less than or equal |
and |
Logical AND |
or |
Logical OR |
in |
Equals to one of the values in the following array |
not in |
Does not equal to one of the values in the following array |