Expand description
This crate provides a set of traits used for code generated by the compact_sql
crate.
Please read the full docs of the mentioned crate with examples there.
Structs§
- Type
- A Postgres type.
Traits§
- Borrow
ToSql - A trait used by clients to abstract over
&dyn ToSql
andT: ToSql
. - PgResult
Row - Trait for code generated by the
compact_sql::PgResultRow
derive macro. - Query
Copy - Trait for
COPY
queries. - QueryDDL
- Trait for schema definition/modification queries.
- QueryDML
- Trait for queries with data modification without the “RETURNING” clause.
- Query
Exact One - Trait for queries with
=
type prefix:=RetType
. - Query
Ignore - Trait for queries with
!
instead of type (ignore result rows). - Query
Many - Trait for queries with
*
type prefix:*RetType
. - Query
Maybe One - Trait for queries with
?
type prefix:?RetType
. - Query
Stream - Trait for queries with
#
type prefix:#RetType
.