package pgx

  1. Overview
  2. Docs
module type Io = Io_intf.S
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_value.t

None is NULL.

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

None is NULL.

val compare_result : result -> result -> int
val sexp_of_result : result -> Sexplib0.Sexp.t
type row = Pgx_value.t 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 = Access
module Isolation = Isolation
module Error_response = Error_response
module Result_desc = Result_desc
module Value = Pgx_value
module type S = Pgx_intf.S
module Make (Thread : Io) : S with type 'a Io.t = 'a Thread.t
OCaml

Innovation. Community. Security.