Modules
- Postgresql database backend
- SQLite database backend
Structs
- Represents a database column. Most users do not need to use this directly.
- Database connection. May be a connection to any type of database as it is a boxed abstraction over a specific connection.
- R2D2 support for Butane. Implements
r2d2::ManageConnection
. - Connection specification. Contains the name of a database backend and the backend-specific connection string. See connect to make a Connection from a
ConnectionSpec
. - Database transaction.
Traits
- Database backend. A boxed implementation can be returned by name via get_backend.
- Database connection.
- Backend-specific row abstraction. Only implementors of new backends need use this trait directly.
- Abstraction of rows returned from a query. Most users do not need to deal with this directly and should use the
query!
macro or Query type. - Methods available on a database connection. Most users do not need to call these methods directly and will instead use methods on DataObject or the
query!
macro. This trait is implemented by both database connections and transactions.
Functions
- Connect to a database. For non-boxed connections, see individual Backend implementations.
- Find a backend by name.