package caqti

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

caqti-v2.3.2.tbz
sha256=8f6c1724b59ac22a5c657c9e53b9a1706e39ecd462e82958b0cea88e43f0aba7
sha512=75b968ab37ae94cadcaabbcce0f91b1ffa4334ed69e441bdeb823077eb7675264282efb0fab3baaaad446582cfb427769e19f22c8c194a316ac2248c3fba5cf8

doc/caqti.platform/Caqti_platform/Connector/index.html

Module Caqti_platform.ConnectorSource

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.plugin library, if linked into the application.

Sourceval load_library : string -> (unit, string) result
Sourcemodule Make (System : System_sig.S) (Pool : Pool.S with type 'a fiber := 'a System.Fiber.t and type switch := System.Switch.t and type stdenv := System.stdenv) (Loader : Driver_loader.S with type 'a fiber := 'a System.Fiber.t and type switch := System.Switch.t and type stdenv := System.stdenv and type ('a, 'e) stream := ('a, 'e) System.Stream.t) : Caqti_connect_sig.S with type 'a fiber := 'a System.Fiber.t and type ('a, 'e) stream := ('a, 'e) System.Stream.t and type ('a, 'e) pool := ('a, 'e) Pool.t and type 'a with_switch := sw:System.Switch.t -> 'a and type 'a with_stdenv := stdenv:System.stdenv -> 'a and type connection := (module Loader.CONNECTION)

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