whereToNode
whereToNode<
S>(where):VexWhereNode<S>
Defined in: packages/core/src/db/queryArgs.ts:181
Converts a where builder callback to its plain VexWhereNode form
— for saving a filter authored in code (a default list filter, a seeded
saved view) without hand-building the tree.
Type Parameters
Section titled “Type Parameters”S extends string
Collection slug the callback was written against.
Parameters
Section titled “Parameters”(q) => ConstraintResult
A builder callback, the same one find / search accept.
Returns
Section titled “Returns”VexWhereNode<S>
The equivalent plain node.