Skip to main content

generateDrizzleRuleProcessor()

generateDrizzleRuleProcessor(table: Record<string, Column<ColumnBaseConfig<ColumnDataType, string>, object, object>> | Table<TableConfig<Column<any, object, object>>>): RuleProcessor

Defined in: generateDrizzleRuleProcessor.ts:18

Given a Drizzle table config, returns a RuleProcessor for use by formatQuery.

It's probably unnecessary to call this function directly, but rather implicitly from the RuleGroupProcessor generated by generateDrizzleRuleGroupProcessor.

Parameters

ParameterType
tableRecord<string, Column<ColumnBaseConfig<ColumnDataType, string>, object, object>> | Table<TableConfig<Column<any, object, object>>>

Returns

RuleProcessor


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.