caqti
Caqti_connect_config
Configuration passed to connect functions.
caqti.blocking
caqti.platform
caqti.plugin
caqti_platform_unix
type _ key
type t
val default : t
The configuration with all keys set to their default values.
val 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.
get key cfg
key
cfg
set
reset
val set : 'a key -> 'a -> t -> t
set key value cfg associates key with value in cfg.
set key value cfg
value
val reset : 'a key -> t -> t
reset key cfg associates key with its default value in cfg.
reset key cfg
val tweaks_version : (int * int) key
Declares compatibility with database tweaks introduced up to the given version of Caqti. Defaults to a conservative value.