Skip to content

Filtering — AQL

select User { id, email }
filter .active = true and .age >= $min_age;
-- $1: min_age
SELECT u.id AS id, u.email AS email
FROM "user" u
WHERE u.active = true AND u.age >= $1
LIMIT 1;

See Expressions for the full set of operators and how conditions combine with and / or.