package caqti

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

Install

Dune Dependency

Authors

Maintainers

Sources

caqti-v2.2.4.tbz
sha256=b8ea432820154ec095132c4f7b244b06cd8553e0b2035185b844d9c4f30af8bb
sha512=b7e3ad8e6a9b587db2d517e15cd42df2945148f9223b2fa6f4bc2bcdd2709d53549cca4b65e54511d22466e4c9aa7f0b9c17305a07505519d8bf81d95de629b8

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 with comparison.

Sourcemodule Dialect : sig ... end

Identification of SQL Dialects and Related Information

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

OCaml

Innovation. Community. Security.