Skip to main content

SqlxPostgres

Derive Macro SqlxPostgres 

Source
#[derive(SqlxPostgres)]
Expand description

Implements SQLx’s PostgreSQL Type, Encode, Decode, and array support for an i64 ID type, stored as BIGINT.

Decoding validates the value. Requires the sqlx-postgres feature.