Crate clorinde

Source

Re-exports§

pub use cargo_toml;

Modules§

config
conn
Helpers to establish connections to database instances.
container
High-level interfaces to work with Clorinde’s container manager.

Enums§

Error
Enumeration of all the errors reported by Clorinde.

Functions§

gen_fresh
Generates Rust queries from PostgreSQL queries located at queries_path, using a temporary database created on an existing PostgreSQL server. The database schema is created using schema_files. Code generation settings are set using the config parameter.
gen_live
Generates Rust queries from PostgreSQL queries located at queries_path, using a live database managed by you. Code generation settings are set using the config parameter.
gen_managed
Generates Rust queries from PostgreSQL queries located at queries_path, using a container managed by clorinde. The database schema is created using schema_files. Code generation settings are set using the config parameter.
load_schema
Loads PostgreSQL schemas into a database.