Module Pgx

module type Io = sig ... end
type oid = int32
val compare_oid : oid -> oid -> int
val sexp_of_oid : oid -> Ppx_sexp_conv_lib.Sexp.t
val oid_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> oid
type param = Pgx__Pgx_value.v option

None is NULL.

val compare_param : param -> param -> int
val sexp_of_param : param -> Ppx_sexp_conv_lib.Sexp.t
type result = Pgx__Pgx_value.v option

None is NULL.

val compare_result : result -> result -> int
val sexp_of_result : result -> Ppx_sexp_conv_lib.Sexp.t
type row = Pgx__Pgx_value.v option list

One row is a list of fields.

val compare_row : row -> row -> int
val sexp_of_row : row -> Ppx_sexp_conv_lib.Sexp.t
type params_description = oid list
val compare_params_description : params_description -> params_description -> int
val sexp_of_params_description : params_description -> Ppx_sexp_conv_lib.Sexp.t
val params_description_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> params_description
exception PostgreSQL_Error of string * Error_response.t

For errors generated by the PostgreSQL database back-end. The * first argument is a printable error message. The second argument * is the complete set of error fields returned from the back-end. * See http://www.postgresql.org/docs/8.1/static/protocol-error-fields.html

module Access : sig ... end
module Isolation : sig ... end
module Error_response : sig ... end
module Result_desc : sig ... end
module Value : sig ... end
module type S = sig ... end
module Make (Thread : Io) : S with type 'a Io.t = 'a Thread.t and type Io.ssl_config = Thread.ssl_config