Expand description
Re-export bsql_driver_postgres types used by generated code. Users do not need to depend on bsql-driver directly.
Structs§
- Arena
- A bump allocator for row data.
- Config
- Implements Drop to zeroize the password field, minimizing the window where plaintext credentials live in memory.
- PgData
Row - A temporary view of a single PostgreSQL DataRow message.
- Query
Result - Collected result of a query: all rows’ column offsets plus metadata.
- Row
- A view into a single result row, borrowing data from the arena.
Traits§
- Encode
- Encode a Rust value into PostgreSQL binary format.
Functions§
- acquire_
arena - Acquire an arena from the thread-local pool, or create a new one.
- decode_
array_ bool - Decode a PG binary array of booleans.
- decode_
array_ bytea - Decode a PG binary array of bytea values.
- decode_
array_ f32 - Decode a PG binary array of f32.
- decode_
array_ f64 - Decode a PG binary array of f64.
- decode_
array_ i16 - Decode a PG binary array of i16.
- decode_
array_ i32 - Decode a PG binary array of i32.
- decode_
array_ i64 - Decode a PG binary array of i64.
- decode_
array_ str - Decode a PG binary array of text/varchar strings.
- decode_
str - Decode a UTF-8 string from binary format (variable length).
- hash_
sql - Compute a rapidhash of a SQL string.
- release_
arena - Return an arena to the thread-local pool for reuse.