package sequoia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include FIELD with type table = t
type table = t
type 'a t = (table, 'a) Field.t
type 't foreign_key = (table, 't) Field.foreign_key

Field definition functions

These functions define a field of the respective type that corresponds to the SQL field given by the string parameter.

val bool : string -> bool t
val int : string -> int t
val float : string -> float t
val string : string -> string t
val blob : string -> bytes t
val foreign_key : string -> references:('t, int) Field.t -> 't foreign_key
module Null : NULL_FIELD with type 'a t := 'a t