getExpressionRuleProcessorDrizzle()
getExpressionRuleProcessorDrizzle(
serializers?:DrizzleSerializerRegistry):RuleProcessor
Defined in: expr/src/processors/getExpressionRuleProcessorDrizzle.ts:51
Generates a rule processor with expression support for use by
formatQuery with the "drizzle" format.
Expression rules compose Drizzle SQL fragments from context.columns (arithmetic,
abs, least/greatest, upper/lower, etc.). Requires context.columns and
context.drizzleOperators (whose sql tag is used) — the same context the stock
processor needs. Pass custom serializers to add functions or override built-ins; they
are merged over defaultDrizzleSerializers. Rules without expressions, or with an
unsupported operator, fall back to the stock processor.
Parameters
| Parameter | Type |
|---|---|
serializers? | DrizzleSerializerRegistry |
Returns
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.