package pgx

  1. Overview
  2. Docs
module type Io = sig ... end
type oid = int32
val compare_oid : oid -> oid -> int
val sexp_of_oid : oid -> Sexplib0.Sexp.t
val oid_of_sexp : Sexplib0.Sexp.t -> oid
type param = Pgx__.Pgx_value.v option

None is NULL.

val compare_param : param -> param -> int
val sexp_of_param : param -> Sexplib0.Sexp.t
type result = Pgx__.Pgx_value.v option

None is NULL.

val compare_result : result -> result -> int
val sexp_of_result : result -> Sexplib0.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 -> Sexplib0.Sexp.t
type params_description = oid list
val compare_params_description : params_description -> params_description -> int
val sexp_of_params_description : params_description -> Sexplib0.Sexp.t
val params_description_of_sexp : Sexplib0.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
OCaml

Innovation. Community. Security.