Filter operators
Filter types
The DSL producesFilterGroup and FilterExpression objects. You typically do not construct these manually, but the types are exported if you need to build filters programmatically:
filter() function wraps a single expression in a FilterGroup automatically, so you can pass either an expression or a group:
Filter aliases
Configure once at init. Aliases are applied automatically to all results:Alias types
An alias can be a simple string mapping or an object with value mappings:brand: { property: 'vendor', values: { nike: 'Nike' } } lets you write { brand: 'nike' } and the SDK resolves it to eq('vendor', 'Nike').