Crate compact_sql_traits

source ·
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§

  • A Postgres type.

Traits§

  • A trait used by clients to abstract over &dyn ToSql and T: ToSql.
  • Trait for code generated by the compact_sql::PgResultRow derive macro.
  • Trait for COPY queries.
  • Trait for schema definition/modification queries.
  • Trait for queries with data modification without the “RETURNING” clause.
  • Trait for queries with = type prefix: =RetType.
  • Trait for queries with ! instead of type (ignore result rows).
  • Trait for queries with * type prefix: *RetType.
  • Trait for queries with ? type prefix: ?RetType.
  • Trait for queries with # type prefix: #RetType.

Type Aliases§