Skip to main content

Postgres

Derive Macro Postgres 

Source
#[derive(Postgres)]
Expand description

Implements postgres-types’ ToSql and FromSql for an i64 ID type, stored as BIGINT.

Works with tokio-postgres and the synchronous postgres client. Decoding validates the value. Requires the postgres feature.