Repodb_postgresql.Raw
repodb-postgresql · API reference
type connection = {
conn : Postgresql.connection;
cache : string Repodb.Stmt_cache.t;
mutable stmt_counter : int;
}type error = stringval dialect : Repodb.Driver.dialectval error_message : 'a -> 'aval error_of_string : 'a -> 'aval connect : string -> (connection, string) resultval close : connection -> unitval value_to_string : Repodb.Driver.Value.t -> stringval is_blob : Repodb.Driver.Value.t -> boolmodule Pg = Postgresqlval bool_oid : Pg.oidval int2_oid : Pg.oidval int4_oid : Pg.oidval int8_oid : Pg.oidval float8_oid : Pg.oidval bytea_oid : Pg.oidval date_oid : Pg.oidval timestamp_oid : Pg.oidval interval_oid : Pg.oidval text_oid : Pg.oidval json_oid : Pg.oidval jsonb_oid : Pg.oidval unknown_oid : Pg.oidval uuid_oid : intval decode_value : Pg.oid -> string -> Repodb.Driver.Value.tval result_to_rows : Postgresql.result -> Repodb.Driver.row listval next_stmt_name : connection -> stringval exec_raw :
connection ->
string ->
params:Repodb.Driver.Value.t array ->
(unit, string) resultval query_raw :
connection ->
string ->
params:Repodb.Driver.Value.t array ->
(Repodb.Driver.row list, string) resultval placeholder : int -> stringval returning_supported : boolval upsert_syntax : [> `PostgreSQL ]val last_insert_id : connection -> ('a, string) result