package caqti

  1. Overview
  2. Docs

Connection functor and backend registration.

val define_loader : (string -> (unit, string) Stdlib.result) -> unit

Defines the function used to dynamically load driver libraries. This is normally only called once during initialization of the caqti-dynload library, if linked.

val define_unix_driver : string -> (module Caqti_driver_sig.Of_system_unix) -> unit

register_scheme scheme m installs m as a handler for the URI scheme scheme. This call must be done by a backend installed with findlib name caqti-driver-scheme as part of its initialization.

Constructs the main module used to connect to a database for the given concurrency model.


Innovation. Community. Security.