package caqti

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

Install

Dune Dependency

Authors

Maintainers

Sources

caqti-v2.1.2.tbz
sha256=ba4dfd5ff94376b5e003f682410b7b3b392c0bbaa0253679fe7671c2e07e895b
sha512=0416807fba620429ee4d64f3a6991238112e0e10dfba9703dced46cf332fd22135a9873007d025441228ce66fb192bf730d4bc776dd2c1a973d7604ab6e789e0

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.