package caqti

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

Install

Dune Dependency

Authors

Maintainers

Sources

caqti-0.10.1.tbz
sha256=e2b1d83b54f4583fc1cf4775d006c68cab4ec0b95a359ab724d5305ada737280
md5=7abd1ee41a02eb7483617cbc22b09691

doc/caqti.v1/Caqti1_connect/Make/index.html

Module Caqti1_connect.MakeSource

Parameters

Signature

Sourcemodule Pool : Caqti1_pool_sig.S with type 'a io := 'a System.io

This is an instantiation of Caqti_pool for the chosen thread monad.

Sourcemodule type CONNECTION = Caqti1_sigs.CONNECTION with type 'a io = 'a System.io
Sourceval connect : Uri.t -> (module CONNECTION) System.io

Establish a single connection to a database. This must only be used by one thread at a time, cooperative or not.

Sourceval connect_pool : ?max_size:int -> Uri.t -> (module CONNECTION) Pool.t

Create a pool of connections which can be shared among multiple cooperative threads run from the main system thread.

OCaml

Innovation. Community. Security.