Skip to main content
Search guests, Count guests, Browse guests, Browse bookings, and the segments share the query model described under Search queries. A criterion carries a field, an operator, and a value, all three as strings. Write "2" for a stay length, "2026-01-01" for a date, and an empty string for the operators that take no value.
Which operators a field accepts depends on the field: the tables below list the pairs to build a query from.

Operators

On a number field, + and - return the same guests as > and <. In the tables below, date operators stands for =, !=, >, <, &=, &<%, and &>%, and text operators for =, !=, F, !F, %, and !%. With = and !=, a date is written YYYY-MM-DD.

Guest fields

Guest fields behind a feature

Booking fields

bookingarrival is the booking window: the number of days between the booking date and the arrival. On bookingdate, > and < take a plain date rather than a day keyword.