package pgx

  1. Overview
  2. Docs

Module PgxSource

Sourcemodule type Io = sig ... end
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__.Pgx_value.v option

None is NULL.

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

None is NULL.

Sourceval compare_result : result -> result -> int
Sourceval sexp_of_result : result -> Sexplib0.Sexp.t
Sourcetype row = Pgx__.Pgx_value.v option 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 : sig ... end
Sourcemodule Isolation : sig ... end
Sourcemodule Error_response : sig ... end
Sourcemodule Result_desc : sig ... end
Sourcemodule Value : sig ... end
Sourcemodule type S = sig ... end
Sourcemodule Make (Thread : Io) : S with type 'a Io.t = 'a Thread.t and type Io.ssl_config = Thread.ssl_config
OCaml

Innovation. Community. Security.