package caqti

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

Install

Dune Dependency

Authors

Maintainers

Sources

caqti-v2.0.1.tbz
sha256=7eb57225c521fe25395653d960b1c381bb2b2ccae47bc2a827bb16611988da8b
sha512=eeafaf495b08fb8620ddee1711b8f9fa2ca0c79fb450a905c8d071806b7046d665e1e2ac0e7d3c7ca1258455decbf184e689e9ecb2453ec9d952b864f9dd14f4

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

OCaml

Innovation. Community. Security.