Module diesel::pg

source · []
Expand description

Provides types and functions related to working with PostgreSQL

Much of this module is re-exported from database agnostic locations. However, if you are writing code specifically to extend Diesel on PostgreSQL, you may need to work with this module directly.

Modules

Data structures for PG types which have no corresponding Rust type

PostgreSQL related query builder extensions

PostgreSQL specific types

Types and functions related to PG’s ON CONFLICT clause

Structs

Represents DISTINCT ON (...)

The PostgreSQL backend

The connection string expected by PgConnection::establish should be a PostgreSQL connection string, as documented at https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONNSTRING

Determines the OID of types at runtime

The PostgreSQL query builder

The OIDs for a SQL type

Used to build a transaction, specifying additional details.