Crate parsql_deadpool_postgres

Source

Re-exports§

pub use transactional_ops as transactional;
pub use pool_extensions::CrudOps;
pub use transaction_extensions::TransactionOps;
pub use parsql_macros as macros;

Modules§

pool_extensions
transaction_extensions
transactional_ops

Structs§

Error
An error communicating with the Postgres server.
Row
A row of data returned from the database by a query.
Transaction
Wrapper around tokio_postgres::Transaction with a StatementCache from the Client object it was created by.

Traits§

FromRow
Trait for converting database rows to Rust structs. This trait is implemented by the derive macro FromRow.
SqlParams
Trait for providing SQL parameters. This trait is implemented by the derive macro SqlParams.
SqlQuery
Trait for generating SQL queries. This trait is implemented by the derive macro Queryable, Insertable, Updateable, and Deletable.
UpdateParams
Trait for providing UPDATE parameters. This trait is implemented by the derive macro UpdateParams.

Functions§

delete
delete
get
get
get_all
get_all
insert
insert
select
select
select_all
select_all
update
update

Type Aliases§

Pool
Type alias for using deadpool::managed::Pool with tokio_postgres.
PoolClient
Type alias for Object
PoolError
Type alias for using deadpool::managed::PoolError with tokio_postgres.