Skip to main content

Crate citadel_sql

Crate citadel_sql 

Source

Re-exports§

pub use connection::Connection;
pub use connection::ScriptExecution;
pub use error::Result;
pub use error::SqlError;
pub use prepared::PreparedStatement;
pub use prepared::Row;
pub use prepared::Rows;
pub use types::ColumnDef;
pub use types::DataType;
pub use types::ExecutionResult;
pub use types::IndexDef;
pub use types::QueryResult;
pub use types::TableSchema;
pub use types::Value;

Modules§

connection
Public SQL connection API.
datetime
Date/Time/Timestamp/Interval support for Citadel SQL.
dialect
encoding
Order-preserving key encoding and row encoding for non-PK column storage.
error
eval
Expression evaluator with SQL three-valued logic.
executor
SQL executor: DDL and DML operations.
fts
Full-text search: tsvector/tsquery binary codec + evaluator.
json
parser
SQL parser: converts SQL strings into the internal AST.
planner
Query planner: chooses between seq scan, PK lookup, or index scan.
prepared
Prepared statements: parse + compile once, execute many times with parameters.
schema
Schema manager: in-memory cache of table schemas.
system_tables
Built-in virtual tables: rows materialized from Rust iterators instead of the B+ tree. Used for PG system catalog views (pg_timezone_*, information_schema.*).
types