Skip to main content

serializeTanStackDb()

serializeTanStackDb(node: ExpressionNode, serializers: TanStackDbSerializerRegistry, ctx: TanStackDbSerializeContext, options?: ValueProcessorOptions): unknown

Defined in: expr/src/utils/serializeTanStackDb.ts:21

Recursively serializes an expression node to a TanStack DB expression. field nodes resolve to ref columns; parameter nodes emit the name as a string literal; value nodes emit the raw (number-coerced) literal; func nodes delegate to the registered serializer. Throws for unknown functions (caller validates first to omit such rules).

Parameters

ParameterType
nodeExpressionNode
serializersTanStackDbSerializerRegistry
ctxTanStackDbSerializeContext
optionsValueProcessorOptions

Returns

unknown


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.