package pgx

  1. Overview
  2. Docs

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]