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_driver : string -> (module Caqti_driver_sig.F) -> 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.

OCaml

Innovation. Community. Security.