diesel

Module 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 SQL types

Structs§

Enums§

  • Describes the format used by COPY FROM or COPY TO statements
  • Describes the different possible settings for the HEADER option for COPY FROM statements

Traits§

  • A expression that could be used as target/source for COPY FROM and COPY TO commands
  • Gets the PgMetadataCache for a Connection<Backend=Pg> so that the lookup of user defined types, or types which come from an extension can be cached.
  • A decorator trait for OrderClause It helps to have bounds on either Col, Asc and Desc.
  • Determines the OID of types at runtime
  • This is a helper trait to defer a type oid lookup to a later point in time