Type Alias: FilterCallback
ts
type FilterCallback = (qb: FilterBuilder) => void;Defined in: src/batteries/vector/builder.ts:76
A callback that receives a fresh filter-only builder, used to express a parenthesized group of conditions — A AND (B OR C), NOT (…), and arbitrary nesting. The callback mutates the builder in place (knex-style); its accumulated conditions become a single nested VectorFilter.
Parameters
| Parameter | Type |
|---|---|
qb | FilterBuilder |
Returns
void