use-pg-type
PostgreSQL type primitives for RustUse.
This crate provides type-name labels, broad type categories, common built-in type labels, array-like labels, and an optional primitive OID wrapper. It does not bind built-in labels to live PostgreSQL catalog OIDs.
Example
use ;
let ty: PgBuiltInType = "timestamptz".parse?;
let text = built_in;
let text_array = array_of;
let oid = new?;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::