Re-exports§
pub use pool::DatabasePoolCache;pub use pool::DatabasePoolCacheConfig;pub use pool::DatabasePoolCacheConfigError;pub use pool::DbConnectErr;pub use pool::DbSecrets;pub use sqlx;
Modules§
- create
- Create
- migrations
- models
- pool
- Database Pool
- utils
Structs§
- PgConnect
Options - SQLx re-exports for other projects Options and flags which can be used to configure a PostgreSQL connection.
- Postgres
- SQLx re-exports for other projects PostgreSQL database driver.
- Transaction
- SQLx re-exports for other projects An in-progress database transaction or savepoint.
Constants§
- ROOT_
DATABASE_ NAME - Name of the root database
Traits§
- DbExecutor
- SQLx re-exports for other projects
An alias for
Executor<'_, Database = Postgres>.
Type Aliases§
- DbErr
- Short type alias for a database error
- DbPool
- Type of the database connection pool
- DbResult
- Type alias for a result where the error is a DbErr
- DbTransaction
- Type of a database transaction
- PgPool
- SQLx re-exports for other projects
An alias for
Pool, specialized for Postgres. - PgPool
Options - SQLx re-exports for other projects
An alias for
PoolOptions, specialized for Postgres.