AMQL Docs
AQL ReferenceTypes

Truefalse

The truefalse field type in AQL represents boolean values (true or false), with the operators you can use to filter and compare truefalse dimensions in queries.

Definition

A boolean value, represented as either "true" or "false". This is commonly used to represent logical values. For example, it can be used to represent the result of a comparison, the status of a switch, or the answer to a yes/no question. The "truefalse" type can only take on two values: "true" or "false".

dimension is_order_shipped {
  label: "Is Shipped"
  type: "truefalse"
}

Truefalse Operator

OperatorExampleDescription
isorders.is_paid is trueEqual to
is_notorders.is_paid is not trueNot equal to
is nullorders.is_paid is nullInclude if null
not nullorders.is_paid not nullInclude if is not null

On this page