Skip to main content

cufflink_pgcodec/
lib.rs

1//! How a Postgres value becomes JSON and a JSON parameter becomes a
2//! Postgres value: one codec for the platform's host functions, its data
3//! routes and the native test host, so the three cannot disagree.
4
5pub mod bind;
6pub mod error;
7pub mod numeric;
8pub mod pooler;
9pub mod render;
10pub mod roles;
11pub mod row_json;
12pub mod session;
13pub mod statement;
14pub mod tx;
15
16pub use bind::{bind, coerce, Bound};
17pub use error::{from_pg, server_message};
18pub use numeric::{NumericError, PgNumeric};
19pub use row_json::{base_type, check_columns_v2, column_to_json, column_to_json_v2, PgInterval};