You can search for identifiers within the package.
in-package search v0.2.0
petrol
Postgres.Type
Defines all supported Postgres types.
type 'a t = 'a Type.t
Represents a SQL type.
val bool : bool t
bool represents the SQL boolean type.
bool
val int : int t
int represents the SQL INTEGER type.
int
val real : float t
real represents the SQL REAL type.
real
val text : string t
text represents the SQL TEXT type.
text
val big_int : int64 Type.t
big_int represents the SQL BIGINT type.
big_int
val big_serial : int64 Type.t
big_serial represents the SQL BIGSERIAL type.
big_serial
val bytea : string Type.t
bytea represents the SQL BYTEA type.
bytea
val character : int -> string Type.t
character n represents the SQL CHARACTER(n) type.
character n
val character_varying : int -> string Type.t
character_varying n represents the SQL CHARACTER VARYING(n) type.
character_varying n
val date : Ptime.t Type.t
date represents the SQL DATE type.
date
val double_precision : float Type.t
double_precision represents the SQL double_precision type.
double_precision
val int4 : int32 Type.t
int4 represents the SQL INT4 type.
int4
val smallint : int Type.t
smallint represents the SQL SMALLINT type.
smallint
val smallserial : int Type.t
smallserial represents the SQL SMALLSERIAL type.
smallserial
val time : Ptime.t Type.t
time represents the SQL time type.
time
module Numeric = Type.Numeric