package caqti

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

Install

Dune Dependency

Authors

Maintainers

Sources

caqti-v2.1.2.tbz
sha256=ba4dfd5ff94376b5e003f682410b7b3b392c0bbaa0253679fe7671c2e07e895b
sha512=0416807fba620429ee4d64f3a6991238112e0e10dfba9703dced46cf332fd22135a9873007d025441228ce66fb192bf730d4bc776dd2c1a973d7604ab6e789e0

doc/caqti/Caqti_connect_config/index.html

Module Caqti_connect_configSource

Configuration passed to connect functions.

Sourcetype _ key
Sourcetype t

Construction and Lookup

Sourceval default : t

The configuration with all keys set to their default values.

Sourceval get : 'a key -> t -> 'a

get key cfg is the value associated with key in cfg, which may be a default value if the key has not been explicitly set or if it has been reset.

Sourceval set : 'a key -> 'a -> t -> t

set key value cfg associates key with value in cfg.

Sourceval reset : 'a key -> t -> t

reset key cfg associates key with its default value in cfg.

Configuration Keys

Sourceval tweaks_version : (int * int) key

Declares compatibility with database tweaks introduced up to the given version of Caqti. Defaults to a conservative value.

OCaml

Innovation. Community. Security.