Skip to main content

Module preprocess

Module preprocess 

Source

Re-exports§

pub use literal::value_to_sql_literal;
pub use pipeline::PreprocessedSql;
pub use pipeline::preprocess;

Modules§

function_args
Rewrite { key: val } object literals appearing inside function-call argument positions to JSON string literals: '{"key": val}'.
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.
vector_ops
Rewrite pgvector’s <-> distance operator into a vector_distance() function call that standard sqlparser can parse.