sql_middleware/postgres/mod.rs
1// PostgreSQL module - provides PostgreSQL-specific database functionality
2//
3// This module is split into several sub-modules for better organization:
4// - config: Connection configuration and pool setup
5// - params: Parameter conversion between middleware and PostgreSQL types
6// - query: Result extraction and building
7// - executor: Database operation execution
8
9pub mod config;
10pub mod executor;
11pub mod params;
12pub mod query;
13
14// Re-export the public API
15pub use executor::{execute_batch, execute_dml, execute_select};
16pub use params::Params;
17pub use query::build_result_set;