package caqti

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.

type +'a fiber
type (+'a, +'err) stream
type switch
type stdenv
module type CONNECTION = Caqti_connection_sig.S with type 'a fiber := 'a fiber and type ('a, 'err) stream := ('a, 'err) stream
val driver_info : Caqti_driver_info.t
val connect : sw:switch -> stdenv:stdenv -> ?env:(Caqti_driver_info.t -> string -> Caqti_query.t) -> tweaks_version:(int * int) -> Uri.t -> ((module CONNECTION), [> Caqti_error.connect ]) result fiber
OCaml

Innovation. Community. Security.