Module butane::db

source ·

Modules

  • Postgresql database backend
  • SQLite database backend

Structs

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.

Type Definitions