Module diesel::connection
source · Expand description
Types related to database connections
Modules
- statement_cache
i-implement-a-third-party-backend-and-opt-into-breaking-changes
Helper types for prepared statement caching
Structs
- An implementation of
TransactionManager
which 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
. - Valid transaction status for the manager. Can return the current transaction depth
Enums
- Represents a change to apply to the depth of a transaction
- TransactionManagerStatus
i-implement-a-third-party-backend-and-opt-into-breaking-changes
Status of the transaction manager
Traits
- A variant of the
Connection
trait that is usable with dynamic dispatch - A connection to a database
- ConnectionGatWorkaround
i-implement-a-third-party-backend-and-opt-into-breaking-changes
This trait describes which cursor type is used by a given connection implementation. This trait is only useful in combination withConnection
. - The specific part of a
Connection
which actually loads data from the database - Perform simple operations on a backend.
- Manages the internal transaction state for a connection.
Type Definitions
- Return type of
LoadConnection::load
.