Module quaint::connector

source ·
Expand description

A set of abstractions for database connections.

Provides traits for database querying and executing, and for spawning transactions.

Connectors for MySQL, PostgreSQL, SQLite and SQL Server connect to the corresponding databases and implement the Queryable trait for generalized querying interface.

Re-exports

Modules

Structs

  • A default representation of an SQL database transaction. If not commited, a transaction will be rolled back by default when dropped.
  • A connector interface for the SQL Server database.
  • Wraps a connection url and exposes the parsing logic used by Quaint, including default values.
  • A connector interface for the MySQL database.
  • This type represents MySql server error.
  • Wraps a connection url and exposes the parsing logic used by quaint, including default values.
  • A connector interface for the PostgreSQL database.
  • Wraps a connection url and exposes the parsing logic used by Quaint, including default values.
  • An owned version of a Row in a ResultSet. See ResultRowRef for documentation on data access.
  • A reference to a Row in a ResultSet. The columns can be accessed either through their position or using the column name.
  • Encapsulates a set of results and their respective column names.
  • Thin iterator for ResultSet rows. Might become lazy one day.
  • A connector interface for the SQLite database
  • Wraps a connection url and exposes the parsing logic used by Quaint, including default values.

Enums

Constants

Traits

Functions