package pgx

  1. Overview
  2. Docs
Pure-OCaml PostgreSQL client library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

pgx_lwt_mirage-2.0.tbz
sha256=be6bac83e4030b6225f3966fd482b242818ff1147efc273163d4a9cd749b62bd
sha512=c18e3b7d246f184c5a689d081f613937d569f9b794b95e586c5c16ddb7402581049642dd20852ec95316c4681b70f5e8f494fc9475adecf64d53b13d70257c98

doc/pgx/Pgx/index.html

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.