Module diesel::connection
source · Expand description
Types related to database connections
Modules§
- statement_cache
i-implement-a-third-party-backend-and-opt-into-breaking-changesHelper types for prepared statement caching
Structs§
- An implementation of
TransactionManagerwhich can be used for backends which use ANSI standard syntax for savepoints such as SQLite and PostgreSQL. - The default loading mode provided by a
Connection. - Various status fields to track the status of a transaction manager with a started transaction
- Valid transaction status for the manager. Can return the current transaction depth
Enums§
- Represents a change to apply to the depth of a transaction
- Status of the transaction manager
Traits§
- A variant of the
Connectiontrait that is usable with dynamic dispatch - A connection to a database
- ConnectionSealed
i-implement-a-third-party-backend-and-opt-into-breaking-changesThis trait restricts who can implementConnection - The specific part of a
Connectionwhich actually loads data from the database - MultiConnectionHelper
i-implement-a-third-party-backend-and-opt-into-breaking-changesThis trait provides helper methods to convert a database lookup type to/from anstd::any::Anyreference. This is used internally by the#[derive(MultiConnection)]implementation - Perform simple operations on a backend.
- Manages the internal transaction state for a connection.