Re-exports§
pub use sqlx;
Modules§
- create
- Create
- migrations
- models
Structs§
- Database
Pool Cache - Cache for database pools
- DbSecrets
- Username and password for a specific database
- PgConnect
Options - 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§
- DbConnect
Err - PgSsl
Mode - Options for controlling the level of protection provided for PostgreSQL SSL connections.
Constants§
- ROOT_
DATABASE_ NAME - Name of the root database
Traits§
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. - PgPool
Options - An alias for
PoolOptions
, specialized for Postgres.