Module sqlx::prelude

source ·
Expand description

Convenience re-export of common traits.

Traits§

  • Acquire connections or transactions from a database in a generic way.
  • Represents a single database connection.
  • A type that can be decoded from the database.
  • Encode a single value to be sent to the database.
  • A type that contains or can provide a database connection to use for executing queries against the database.
  • A record that can be built from a row returned by the database.
  • Represents a single row from the database.
  • An explicitly prepared statement.
  • Indicates that a SQL type is supported for a database.

Derive Macros§