Skip to content
Marcel edited this page Apr 25, 2022 · 3 revisions

Field Definition

  • Fields must exist in the object that was passed.
  • A point (.) in the field name signals index access, so a field named friends.0.address.street would also translate to a call to data.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`.

Value Definition

  • Values can either be numeric (e.g. 18 or 3.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 in and not in. Array items are separated by using a space or a comma. E.g. city in ('Berlin', 'Paris', 'Athens') and city in ('Berlin' 'Paris' 'Athens') are equivalent.

The escaping symbol \ can be used to escape quotation marks inside a field or value definition.

Operators

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

Clone this wiki locally