Modules§
Structs§
- Bind
Iter - Wraps an iterator to produce a PG array without allocating an intermediate
Vec. Usessize_hintfrom the iterator for pre-allocation when available. - Connect
Params - Connection
- DbError
- Pool
- Pool
Config - Pooled
Connection - Row
- RowStream
- Transaction
Enums§
Traits§
- FromRow
- Trait for types that can be constructed from a database Row. Used by query_as, query_one_as, query_first_as. Typically derived with #[derive(FromRow)].
- FromSql
- Queryer
- Trait for anything that can execute SQL queries. Implemented for Connection, Pool, Transaction. All methods take &self thanks to interior mutability.
- ToSql