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_
types - Data structures for PG types which have no corresponding Rust type
- expression
- PostgreSQL related query builder extensions
- types
- PostgreSQL specific types
- upsert
- Types and functions related to PG’s
ON CONFLICT
clause
Structs§
- Distinct
OnClause - Represents
DISTINCT ON (...)
- Pg
- The PostgreSQL backend
- PgConnection
- 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 - PgMetadata
Lookup - Determines the OID of types at runtime
- PgQuery
Builder - The PostgreSQL query builder
- PgType
Metadata - The OIDs for a SQL type
- Transaction
Builder - Used to build a transaction, specifying additional details.