package caqti

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

Install

Dune Dependency

Authors

Maintainers

Sources

caqti-v1.8.0.tbz
sha256=2630233f335f910290e24b318ac7f6e712b3109fb55581b2b8c324127a9a4b12
sha512=9ce23cbc02b9d6c856a8db0713dbb1aa393aa43bc1d565121420636f7f6fa1ed64c7269e98cfeb92b5e9c8e23e42e2e8e1705b5fe978abd3c3f0cc3259d32b98

doc/caqti/Caqti_type/Field/index.html

Module Caqti_type.FieldSource

Facilities for extending and using primitive field types.

Sourcetype 'a t = 'a field
Sourcetype _ coding =
  1. | Coding : {
    1. rep : 'b t;
    2. encode : 'a -> ('b, string) result;
    3. decode : 'b -> ('a, string) result;
    } -> 'a coding
Sourcetype get_coding = {
  1. get_coding : 'a. Caqti_driver_info.t -> 'a t -> 'a coding;
}
Sourceval define_coding : 'a field -> get_coding -> unit
Sourceval coding : Caqti_driver_info.t -> 'a field -> 'a coding option
Sourceval to_string : 'a t -> string
OCaml

Innovation. Community. Security.