package caqti
Unified interface to relational database libraries
Install
Dune Dependency
Authors
Maintainers
Sources
caqti-v2.0.1.tbz
sha256=7eb57225c521fe25395653d960b1c381bb2b2ccae47bc2a827bb16611988da8b
sha512=eeafaf495b08fb8620ddee1711b8f9fa2ca0c79fb450a905c8d071806b7046d665e1e2ac0e7d3c7ca1258455decbf184e689e9ecb2453ec9d952b864f9dd14f4
doc/caqti.platform/Caqti_platform/Driver_loader/index.html
Module Caqti_platform.Driver_loader
Source
Registration and Loading of Drivers
This interface is unstable and may change between minor versions. If you are developing an external driver, please open an issue to sort out requirements and to announce you need for a stable driver API.
This is the signature implemented by drivers, given the system dependencies. More precisely, drivers implement either DRIVER_FUNCTOR
or Caqti_platform_unix.Driver_loader.DRIVER_FUNCTOR
depending on requirements.
Registration
Source
module type DRIVER_FUNCTOR =
functor (System : System_sig.S) ->
DRIVER
with type 'a fiber := 'a System.Fiber.t
and type ('a, 'err) stream := ('a, 'err) System.Stream.t
and type switch := System.Switch.t
and type stdenv := System.stdenv
The functor implemented by drivers independent from the unix library.
register scheme driver_functor
registers driver_functor
as the driver implementation for handling the URI scheme scheme
.
Usage
Source
module Make
(System : System_sig.S) :
S
with type 'a fiber := 'a System.Fiber.t
and type ('a, 'e) stream := ('a, 'e) System.Stream.t
and type switch := System.Switch.t
and type stdenv := System.stdenv
Instantiation of the loader interface for give system dependencies.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page