package caqti

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

caqti-v3.0.0.tbz
sha256=3ceea06ba0e8e8bcab0386b5817b68cb30fce457eaa25ada0182891d66f6a0b9
sha512=e01f546a45b04cafd5fa262e9228e5a1aabd5e0942059c073a4181c928450baf3d990cc59ffb1a33dff445b46a0e218224a23dca96e8d24cdd0ab793d08e4538

doc/index.html

caqti index

Library caqti

This is the Caqti core library providing platform- and driver-independent functionality, including SQL request construction, configuration, error descriptors, and signatures.

The entry point of this library is the module: Caqti

Library caqti.classic

This library provides the Caqti 2 API for backwards compatibility. You are encouraged to use the new API for new programs. See separate page with list of modules.

Library caqti.blocking

This library implements the blocking (non-)concurrency using the unix library. Real concurrency support is provided by separate packages.

The entry point of this library is the module: Caqti_blocking.

Library caqti.plugin

This library registers a dynamic linker based on the dune-site.plugin library, which allows Caqti to automatically load driver libraries inferred from the URI when connecting to a new kind of database for the first time. It has no entry point; linking aganist it registers the loader.

Please note that issue #140 needs to be adressed before this library works for installed binaries. The caqti-dynload package provides an alternative, though it will be deprecated after the issue is resolved.

Platform Libraries for Internal Use

The platform libraries are only meant for use in implementing drivers and concurrency support. These APIs are unstable, i.e. they can change between minor versions and without prior deprecation notices.

Library caqti.platform

The entry point of this library is the module: Caqti_platform.

Library caqti.platform.unix

The entry point of this library is the module: Caqti_platform_unix.