package links

  1. Overview
  2. Docs
type t
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
include Sexplib0.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
val make : table:string -> name:string -> alias:string -> typ:Links_lens__.Phrase_type.t -> present:bool -> t
val alias : t -> string

Return the name of the column as the column would be bound in the user program.

val name : t -> string

Return the name of the column corresponding to the name in the database table.

val table : t -> string

Return the name of the database table.

val typ : t -> Links_lens__.Phrase_type.t

Return the column type.

val set_typ : typ:Links_lens__.Phrase_type.t -> t -> t

Change a column type.

val present : t -> bool

Determine if the column is present.

val hide : t -> t
val rename : t -> alias:string -> t
val equal : t -> t -> bool
val set_table : t -> table:string -> t
module Set : sig ... end
module List : sig ... end
OCaml

Innovation. Community. Security.