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/src/pgx/types.ml.html

Source file types.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
open Sexplib0.Sexp_conv
open Pgx_aux

type oid = int32 [@@deriving compare, sexp]

(** None is NULL. *)
type param = Pgx_value.t [@@deriving compare, sexp_of]

(** None is NULL. *)
type result = Pgx_value.t [@@deriving compare, sexp_of]

(** One row is a list of fields. *)
type row = Pgx_value.t list [@@deriving compare, sexp_of]

type params_description = oid list [@@deriving compare, sexp]

exception PostgreSQL_Error of string * Error_response.t [@@deriving sexp]
OCaml

Innovation. Community. Security.