Rel.TypeColumn types.
This module defines a type whose values describes the type of columns and how they are represented in OCaml.
The type for column types represented by type 'a in OCaml. These are NOT NULL columns unless option is used.
val bool : bool tbool is a boolean column type.
val int : int tint is an int64 column type represented by an OCaml int.
val int64 : int64 tint64 is an int64 column type.
val float : float tfloat is a binary64 IEEE-754 floating point number.
val text : string ttext is an UTF-8 text column type.
val blob : string tblob is a binary column type.
option c is a nullable column type. Raises Invalid_argument _ if c is already nullable.
module Coded : sig ... endCoded types.
module Custom : sig ... endCustom types.
val is_nullable : 'a t -> boolis_nullable t is true iff t is a column that allows nulls.
Note. Custom types are assumed to be not nullable.
val pp : Stdlib.Format.formatter -> 'a t -> unitpp formats column types.
val value_pp : 'a t -> Stdlib.Format.formatter -> 'a -> unitvalue_pp t formats values of type t.
module Repr : sig ... endLow-level representation (unstable).