Module db

Module db 

Source

Re-exports§

pub use connection::Database;
pub use pool::DatabasePool;
pub use pool::PoolConfig;
pub use pool::PooledConnectionGuard;

Modules§

advanced_queries
connection
migrations
pool
queries
seed

Functions§

close_pool
Close the global pool
get_connection
Get a connection from the global pool
get_database_path
get_pool_stats
Get pool statistics
initialize_database
initialize_pool
Initialize the global database pool
initialize_pool_with_config
Initialize the global database pool with custom configuration