Syntax

This table shows the different syntax used in expressions:
Type Syntax
Reserved words
  • true, false
  • NOT, not
  • AND, and
  • OR, or
  • LT, lt
  • GT, gt
  • GE, ge
  • LE, le
  • NE, ne
  • EQ, eq
Calculation operators
  • Addition, +
  • Subtraction, -
  • Multiplication, *
  • Division, /
Note: Mathematician operator precedence is not implemented. Use parenthesis grouping.
Logical operators
  • And: AND, and, &&
  • Or: OR, or,
  • Not: NOT, not, !
Comparison operators
  • Equal: EQ, eq, =, ==
  • Not equal: NE, ne, <>, !=
  • Less than: LT, Lt, <
  • Greater than: GT, gt, >
  • Less that or equal to: LE, le, <=
  • Greater than or equal to: GE, ge, >=
Grouping (...)
Boolean values
  • true
  • false
Fields Specified in the Field Metadata or Virtual Fields field lists.
Constants
  • Numeric: 1234
  • Decimal: 1234.56
  • String: 'Abcdef'
Note: Strings cannot contain the characters ' or ".
String concatenation +