getExpressionParserSQL()
getExpressionParserSQL(
customInverse?:Partial<SQLInverse>,customMeta?:ExpressionFunctionMetaRegistry):SQLExpressionParser
Defined in: expr/src/parsers/getExpressionParserSQL.ts:33
Generates a getExpression handler for @react-querybuilder/core/parseSQL!parseSQL.
Pass customInverse to add functions/operators or override built-ins (merged over
defaultSQLInverse), and customMeta to supply arity metadata for custom functions.
The returned handler builds an ExpressionNode from a SQL operand subtree and
auto-validates it, returning null (rule dropped) for unknown functions/operators or
arity mismatches — the import-side mirror of getExpressionRuleProcessorSQL.
Parameters
| Parameter | Type |
|---|---|
customInverse? | Partial<SQLInverse> |
customMeta? | ExpressionFunctionMetaRegistry |
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.