Skip to main content

Module expr

Module expr 

Source
Expand description

Expression AST for filters and WHERE clauses. Expression AST for building WHERE clauses and filters.

Structs§

LiteralSql
A SQL fragment emitted verbatim into the query text, not bound as a parameter (e.g. literal key names in json_build_object).
RelationFilter
Metadata needed to render or serialize a relation predicate.

Enums§

BinaryOp
Binary operators for expressions.
Expr
Expression node for WHERE clauses and filters.
JsonPathCast
Cast applied when a nested composite field is rendered through JSON storage.
RelationFilterOp
Relation filter operator used by generated relation helpers.

Constants§

VECTOR_COSINE_DISTANCE_FUNCTION
Internal expression function marker rendered as pgvector <=>.
VECTOR_INNER_PRODUCT_FUNCTION
Internal expression function marker rendered as pgvector <#>.
VECTOR_L2_DISTANCE_FUNCTION
Internal expression function marker rendered as pgvector <->.