package sequoia

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include module type of M.Field with module Null := M.Field.Null
type (!'t, !'a) t = ('t, 'a) Sequoia_field.t = ..
type t +=
  1. | Bool : string * 't Sequoia_table.t -> ('t, bool) t
  2. | Int : string * 't0 Sequoia_table.t -> ('t0, int) t
  3. | Float : string * 't1 Sequoia_table.t -> ('t1, float) t
  4. | String : string * 't2 Sequoia_table.t -> ('t2, string) t
  5. | Blob : string * 't3 Sequoia_table.t -> ('t3, bytes) t
type (!'t1, !'t2) foreign_key = ('t1, 't2) Sequoia_field.foreign_key
val bool : 't Sequoia_table.t -> string -> ('t, bool) t
val int : 't Sequoia_table.t -> string -> ('t, int) t
val float : 't Sequoia_table.t -> string -> ('t, float) t
val string : 't Sequoia_table.t -> string -> ('t, string) t
val blob : 't Sequoia_table.t -> string -> ('t, bytes) t
val foreign_key : 't1 Sequoia_table.t -> string -> references:('t2, int) t -> ('t1, 't2) foreign_key
type t +=
  1. | Time : string * 't0 M.Table.t -> ('t0, [ `Time ] time) t
  2. | Timestamp : string * 't1 M.Table.t -> ('t1, [ `Timestamp ] time) t
  3. | Date : string * 't2 M.Table.t -> ('t2, [ `Date ] time) t
  4. | Datetime : string * 't3 M.Table.t -> ('t3, [ `Datetime ] time) t
  5. | Enum : string * 't4 M.Table.t * (module Enum.Instance) -> ('t4, (module Enum.Instance)) t
module Null : sig ... end
val name : 'a. ('t, 'a) t -> string
val table : 'u 'a. ('u, 'a) t -> 'u Table.t
val to_string : ('a, 'b) t -> string
val time : 'a M.Table.t -> string -> ('a, [ `Time ] time) t
val timestamp : 'a M.Table.t -> string -> ('a, [ `Timestamp ] time) t
val date : 'a M.Table.t -> string -> ('a, [ `Date ] time) t
val datetime : 'a M.Table.t -> string -> ('a, [ `Datetime ] time) t
val enum : 'a M.Table.t -> (module Enum.S) -> string -> ('a, (module Enum.Instance)) t
OCaml

Innovation. Community. Security.