Query Syntax
Cheatsheet for filtering the data
Last updated
(age > 30 and status = "active") or role = "admin"user.profile.name = "John"
metadata.tags[0] = "important"// Simple equality check
name = "John"
// Numeric comparison
age > 30
// Boolean value
is_active = true// Using AND
age > 30 and status = "active"
// Using OR
status = "pending" or status = "in_review"
// Combining with parentheses
(age > 30 and status = "active") or role = "admin"// Check if value is in a list
status in ["active", "pending", "in_review"]
// Empty list
tags in []// Names that contain "Smith"
name like "%Smith%"
// Email addresses from a specific domain
email like "%@example.com"
// Starts with a specific prefix
product_code like "ABC%"// Check if a field is null
address is null
// Check if a field is not null
email is not null// Access nested object properties
user.profile.address = "New York"
// Access array elements
metadata.tags[0] = "important"
// Deep nesting
order.items[0].product.name = "Widget"// Complex filter combining multiple conditions
(status in ["active", "pending"] and created_date > "2023-01-01") or
(is_priority = true and (assigned_to = "John" or assigned_to is null))