Skip to main content

DrizzleWhereCallback

DrizzleWhereCallback = <Ops>(columns: object, drizzleOperators: Ops) => ReturnType<Ops["and"]>

Defined in: packages/core/src/utils/formatQuery/defaultRuleGroupProcessorDrizzle.ts:31

Return type of defaultRuleGroupProcessorDrizzle—the function assignable to the where property in the Drizzle relational queries API. The Drizzle SQL result type is inferred from the caller's own operators object, so it stays exact without importing drizzle-orm here.

Type Parameters

Type Parameter
Ops extends DrizzleOperatorsLike

Parameters

ParameterType
columnsobject
drizzleOperatorsOps

Returns

ReturnType<Ops["and"]>


caution

API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.