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.template/Caqti_template/index.html

Module Caqti_templateSource

Primitives

These modules are part of the stable API, but the casual user may find it sufficient to use the Create module.

  • alert caqti_unstable This library is a preview; expect incompatible changes without prior notice.

Prerequisities

Sourcemodule Shims : sig ... end

Compatibility shims.

Sourcemodule Version : sig ... end

Opaque version strings with comparison.

Sourcemodule Dialect : sig ... end

Identification of SQL Dialects and Related Information

Data Types

Sourcemodule Constructor : sig ... end

Reified constructors for product row types.

Sourcemodule Field_type : sig ... end

Database field types.

Sourcemodule Row_type : sig ... end

Database row types, also used for parameters.

Sourcemodule Row_mult : sig ... end

Row multiplicity.

Sourcemodule Row : sig ... end
Sourcemodule Type : sig ... end

This module imports everything needed to describe a request type, including the parameter type, row type, and row multiplicity.

Request Templates

Sourcemodule Query : sig ... end

This module provides templating of database query strings. It helps mitigate differences between database systems, and provides additional functionality such as variable substitution and safe embedding of values. The representation is also suited for dynamic construction.

Sourcemodule Query_fmt : sig ... end

Format-based query construction.

Sourcemodule Request : sig ... end

Request template.

Convenience

Sourcemodule type CREATE = sig ... end

This is a convenience API which collects everything needed to create request templates. A request template describes a database query and how to encode parameters and decode the result.

This is a convenience API which collects everything needed to create request templates. A request template describes a database query and how to encode parameters and decode the result.