package caqti

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

caqti-v1.7.0.tbz
sha256=a363cfcc15f2a3ab9721d08789a65aaa1108d27f974a9b68425a889596e27fb8
sha512=982b9c65fde0405b5d33822ff2743d1c8a8c0611dcd6615dd0af5b32048262f7ddbcae8434193cfd2b7ee845f29c2821d869862b34086099fcffc912b51d61a2

doc/caqti/Caqti_connect/index.html

Module Caqti_connectSource

Connection functor and backend registration.

Sourceval define_loader : (string -> (unit, string) result) -> unit

Defines the function used to dynamically load driver libraries. This is normally called during initialization by the caqti-dynload library, if linked into the application.

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

define_unix_driver 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.