bun_sql 0.1.0

A Rust-native programmable browser runtime built on Servo and SpiderMonkey
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// PORT NOTE: the Zig file re-exported `bool`, `bytea`, `date`, `json`, `string`
// from `../../sql_jsc/postgres/types/*.zig`. Per PORTING.md (Idiom map, last
// row), `*_jsc` alias re-exports are deleted — `to_js`/`from_js` live as
// extension-trait methods in the `bun_sql_jsc` crate, and the base crate has
// no mention of jsc.

pub use super::any_postgres_error::AnyPostgresError;
pub use super::types::tag::Tag;

pub use int_types::int4 as PostgresInt32;
pub use int_types::int8 as PostgresInt64;
pub use int_types::int32 as Int32;
pub use int_types::short as PostgresShort;
pub use int_types::{Int4, Int8, Short, int4, int8, short};

use super::types::int_types;

// ported from: src/sql/postgres/PostgresTypes.zig