cake/adapter/postgres_adapter

Functions

pub fn execute(
  query: String,
  conn: Connection,
) -> Result(Returned(Dynamic), QueryError)
pub fn run_query(
  db_conn: Connection,
  query qry: Query,
  decoder dcdr: fn(Dynamic) -> Result(a, List(DecodeError)),
) -> Result(List(a), QueryError)
pub fn to_prepared_statement(
  query qry: Query,
) -> PreparedStatement
pub fn with_connection(f: fn(Connection) -> a) -> a
Search Document