Skip to main content

Module duck

Module duck 

Source
Expand description

DuckDB backend (embedded, via the duckdb crate with the bundled feature so no system libduckdb is required).

DuckDB is file/embedded like SQLite: no out-of-band secret. Its Rust API mirrors rusqlite (prepared statements, ? placeholders, typed value refs), so this module reads the same way as the SQLite path in backend.rs. Values are always bound as parameters; only validated identifiers reach a query string (see ident/sanitize_ident in lib.rs).

Functionsยง

connect_duckdb
Open a DuckDB database at path (or :memory:). Embedded, no secret.