cake/dialect/postgres_dialect
🐘PostgreSQL dialect to be used in conjunction with the gleam_pgo
library.
Types
pub type PreparedStatement =
prepared_statement.PreparedStatement
pub type WriteQuery(a) =
write_query.WriteQuery(a)
Functions
pub fn query_to_prepared_statement(
query qry: ReadQuery,
) -> PreparedStatement
Converts read query to a 🐘PostgreSQL prepared statement.
pub fn read_cake_query_to_prepared_statement(
query qry: CakeQuery(a),
) -> PreparedStatement
Converts a cake query to a 🐘PostgreSQL prepared statement.
pub fn write_query_to_prepared_statement(
query qry: WriteQuery(a),
) -> PreparedStatement
Converts a write query to a 🐘PostgreSQL prepared statement.