Crate docbox_database

Source

Re-exports§

pub use sqlx;

Modules§

create
Create
migrations
models

Structs§

DatabasePoolCache
Cache for database pools
DbSecrets
Username and password for a specific database
PgConnectOptions
Options and flags which can be used to configure a PostgreSQL connection.
Postgres
PostgreSQL database driver.
Transaction
An in-progress database transaction or savepoint.

Enums§

DbConnectErr
PgSslMode
Options for controlling the level of protection provided for PostgreSQL SSL connections.

Constants§

ROOT_DATABASE_NAME
Name of the root database

Traits§

DbExecutor
An alias for Executor<'_, Database = Postgres>.
DbSecretManager

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
An alias for Pool, specialized for Postgres.
PgPoolOptions
An alias for PoolOptions, specialized for Postgres.