Module diesel::pg

source ·
Available on crate feature postgres_backend only.
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 SQL types

Structs

Represents DISTINCT ON (...)
The PostgreSQL backend
PgConnectionpostgres
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
The PostgreSQL query builder
A PgConnection specific loading mode to load rows one by one
The OIDs for a SQL type
Raw postgres value as received from the database
Used to build a transaction, specifying additional details.

Traits

Determines the OID of types at runtime