package caqti

  1. Overview
  2. Docs
Unified interface to relational database libraries

Install

dune-project
 Dependency

Authors

Maintainers

Sources

caqti-v3.0.0.tbz
sha256=3ceea06ba0e8e8bcab0386b5817b68cb30fce457eaa25ada0182891d66f6a0b9
sha512=e01f546a45b04cafd5fa262e9228e5a1aabd5e0942059c073a4181c928450baf3d990cc59ffb1a33dff445b46a0e218224a23dca96e8d24cdd0ab793d08e4538

doc/caqti.classic/Caqti_type/Field/index.html

Module Caqti_type.FieldSource

Facilities for extending and using primitive field types.

type 'a t = 'a Caqti.Template.Field_type.t =
  1. | Bool : bool t
  2. | Int : int t
  3. | Int16 : int t
  4. | Int32 : int32 t
  5. | Int64 : int64 t
  6. | Float : float t
  7. | String : string t
  8. | Octets : string t
  9. | Pdate : Ptime.t t
  10. | Ptime : Ptime.t t
  11. | Ptime_span : Ptime.span t
  12. | Enum : string -> string t
val unify : 'a t -> 'b t -> ('a, 'b) eq option
val equal_value : 'a t -> 'a -> 'a -> bool
val to_string : 'a t -> string
val pp : Format.formatter -> 'a t -> unit
val pp_value : Format.formatter -> ('a t * 'a) -> unit