Skip to main content Module preprocess Copy item path Source pub use literal::value_to_sql_literal ;pub use pipeline::PreprocessedSql ;pub use pipeline::preprocess ;function_args Rewrite { key: val } object literals appearing inside function-call
argument positions to JSON string literals: '{"key": val}'. lex Shared SQL lexer for preprocess passes. literal SQL literal canonicalization for nodedb_types::Value. object_literal_stmt Rewrite INSERT/UPSERT INTO coll { ... } (and [{ ... }, ...]) into
standard INSERT INTO coll (cols) VALUES (row), .... pipeline SQL pre-processing orchestrator: rewrite NodeDB-specific syntax into
standard SQL before handing to sqlparser-rs. search_vector Rewrite SEARCH <coll> USING VECTOR(<field>, ARRAY[...], <k>) to the
canonical SELECT * FROM <coll> ORDER BY vector_distance(<field>, ARRAY[...]) LIMIT <k>. temporal Extract and strip NodeDB-specific bitemporal clauses before sqlparser
sees the statement. vector_ops Rewrite pgvector’s <-> distance operator into a vector_distance()
function call that standard sqlparser can parse.