Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Connector for Async.
include Caqti_connect_sig.S with type 'a future := 'a Async_kernel.Deferred.t
module Pool : sig ... end
module Stream : sig ... end
module type CONNECTION = sig ... end
type connection = (module CONNECTION)
val connect :
Uri.t ->
(connection, [> Caqti_error.load_or_connect ]) Stdlib.result
Async_kernel.Deferred.t
val connect_pool :
?max_size:int ->
Uri.t ->
((connection, [> Caqti_error.connect ]) Pool.t, [> Caqti_error.load ])
Stdlib.result