Crate c3p0_postgres

Source

Modules§

deadpool
tokio_postgres

Structs§

AutogeneratedIdGenerator
An IdGenerator that uses the auto-increment feature of the database
PgC3p0Json
A C3p0Json implementation for Postgres
PgC3p0JsonBuilder
A builder for a PgC3p0Json
PgC3p0Pool
A C3p0Pool implementation for Postgres
PgTx
UuidIdGenerator
An IdGenerator that uses the uuid crate to generate a random uuid

Traits§

IdGenerator
A trait that allows the creation of an Id
PostgresIdType

Functions§

build_pg_queries
Builds the queries for a Postgres C3p0Json
deadpool_into_c3p0_error
Converts a deadpool::postgres::PoolError into a C3p0Error.
get_or_error
Attempts to retrieve a value of type T from the given row at the specified index.
into_c3p0_error
Converts a tokio_postgres::Error into a C3p0Error.
to_model
Converts a Row into a Model using the given index positions.
to_value_mapper

Type Aliases§

PostgresVersionType