package caqti

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

caqti-v2.3.0.tbz
sha256=4dadf33904c9fd25065dbf6739aa0a9eaaaea000c6981c17a534b475dd5c3891
sha512=13c1cbeff3ee0e54ed1cc8f8df5f7660c292d5d50faa9480916f3c7e578961ab3b3779395c0664346cf42509f7b98d986e8377133542869a462288d6c0e34cbf

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.