Query filters
Learn how to narrow down your GraphQL searches using Bunny's filters.
Last updated
Was this helpful?
Was this helpful?
date_condition : field (is|is_not) specific_date
| field (is|is not) relative date
specific_date : yesterday | today | tomorrow
| ((before | on | after | on or after | on or before ) date)
| in
| ago
in : in int period
ago : int period ago
relative_date : which period[s]
which : current
| (past | next) [int]
period : day[s] | week[s] | month[s] | quarter[s] | year[s]
date : “yyyy-mm-dd” | "yyyy-mm-ddThh:mm:ss"{
accounts(filter: "revenue > 100 and (billing_state = 'CA' or billing_state = 'WA') {
nodes {
id
}
}
}