package caqti
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=8f6c1724b59ac22a5c657c9e53b9a1706e39ecd462e82958b0cea88e43f0aba7
sha512=75b968ab37ae94cadcaabbcce0f91b1ffa4334ed69e441bdeb823077eb7675264282efb0fab3baaaad446582cfb427769e19f22c8c194a316ac2248c3fba5cf8
doc/index.html
caqti index
Library caqti
This is classic API for Caqti, which mirrors the above libray and provides signatures, configurations, and a few other things for other Caqti packages. The plan in to uses wrapped module everywhere and to make some adjustments to the organization of modules. You may continue to use this for now, as deprecation is posponed until the complete replacement is available.
This library exposes the following toplevel modules:
Caqti_connect_sigSignatures providing functions for establishing database connections.Caqti_connection_sigSignature of connection handles.Caqti_driver_infoInformation about a database, its driver, and its query language.Caqti_errorError descriptors.Caqti_multRow multiplicity.Caqti_pool_configPool configuration.Caqti_pool_sigResource pool signature.Caqti_queryIntermediate query string representation.Caqti_query_fmtFormat-based query construction.Caqti_requestRequest specification.Caqti_response_sigSignature of a response from a database.Caqti_stream_sigConcurrent stream signature.Caqti_switch_sigSwitch implementation used where not available.Caqti_typeType descriptors for fields and tuples.Caqti_type_sigSignatures forCaqti_type.
Preview library caqti.template
For now, this library is provides as a preview only. The interface will change in incompatible ways before it's declared ready for usage in production code.
This library provides the interface to create templates for requests to send to the database. A request template essentially combines a parametrised query string with a parameter encoder and a row decoder, and can often be defined statically. Execution of queries are handled by other packages, depending on your preferred concurrency and OS libraries.
The entry point of this library is the module: Caqti_template
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 entry point; linking aganist it provides all of its functionality.
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.