package pgx

  1. Overview
  2. Docs

Module PgxSource

Sourcemodule type Io = Io_intf.S
Sourcetype oid = int32
Sourceval compare_oid : oid -> oid -> int
Sourceval sexp_of_oid : oid -> Sexplib0.Sexp.t
Sourceval oid_of_sexp : Sexplib0.Sexp.t -> oid
Sourcetype param = Pgx_value.t

None is NULL.

Sourceval compare_param : param -> param -> int
Sourceval sexp_of_param : param -> Sexplib0.Sexp.t
Sourcetype result = Pgx_value.t

None is NULL.

Sourceval compare_result : result -> result -> int
Sourceval sexp_of_result : result -> Sexplib0.Sexp.t
Sourcetype row = Pgx_value.t list

One row is a list of fields.

Sourceval compare_row : row -> row -> int
Sourceval sexp_of_row : row -> Sexplib0.Sexp.t
Sourcetype params_description = oid list
Sourceval compare_params_description : params_description -> params_description -> int
Sourceval sexp_of_params_description : params_description -> Sexplib0.Sexp.t
Sourceval params_description_of_sexp : Sexplib0.Sexp.t -> params_description
Sourceexception 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

Sourcemodule Access = Access
Sourcemodule Isolation = Isolation
Sourcemodule Error_response = Error_response
Sourcemodule Result_desc = Result_desc
Sourcemodule Value = Pgx_value
Sourcemodule type S = Pgx_intf.S
Sourcemodule Make (Thread : Io) : S with type 'a Io.t = 'a Thread.t
OCaml

Innovation. Community. Security.