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§
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 aStatementCache
from theClient
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
, andDeletable
. - Update
Params - Trait for providing UPDATE parameters.
This trait is implemented by the derive macro
UpdateParams
.
Functions§
Type Aliases§
- Pool
- Type alias for using
deadpool::managed::Pool
withtokio_postgres
. - Pool
Client - Type alias for
Object
- Pool
Error - Type alias for using
deadpool::managed::PoolError
withtokio_postgres
.