Expand description
Type encoding and decoding for PostgreSQL wire protocol.
This module provides traits and implementations for converting between Rust types and PostgreSQL wire format values.
Modules§
- ref_row
- Zero-copy row decoding for fixed-size types.
Constants§
- PG_
EPOCH_ JULIAN_ DAY - PostgreSQL epoch (2000-01-01) as a Julian day number.
Traits§
- FromRow
- Trait for decoding a PostgreSQL row into a Rust type.
- From
Wire Value - Trait for decoding PostgreSQL values into Rust types.
- ToParams
- Trait for encoding multiple parameters.
- ToWire
Value - Trait for encoding Rust values as PostgreSQL parameters.
Functions§
- numeric_
to_ string - Converts PostgreSQL NUMERIC binary encoding to String.