Skip to main content

serializeInfix()

serializeInfix(node: ExpressionNode, serializers: SQLSerializerRegistry, dialect: InfixDialect, opts?: ValueProcessorOptions): string

Defined in: expr/src/utils/serializeInfix.ts:53

Recursively serializes an expression node to a string fragment for the "infix" string formats (cel, spel, cypher, sparql, jsonata). field/value leaves defer to the InfixDialect; parameter nodes use renderParameter (bare name) when the dialect defines it, else render the name as a literal; func nodes delegate to the registered serializer (a (opts, ...args) => string), resolved for the active preset and invoked opts-first.

Parameters​

ParameterType
nodeExpressionNode
serializersSQLSerializerRegistry
dialectInfixDialect
opts?ValueProcessorOptions

Returns​

string


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.