Caqti1_async(v1) Connector for Async.
include Caqti1_sigs.CAQTI with type 'a io := 'a Async.Deferred.Or_error.tmodule Pool : Caqti1_pool_sig.S with type 'a io := 'a Async.Deferred.Or_error.tThis is an instantiation of Caqti_pool for the chosen thread monad.
module type CONNECTION =
Caqti1_sigs.CONNECTION with type 'a io = 'a Async.Deferred.Or_error.tval connect : Uri.t -> (module CONNECTION) Async.Deferred.Or_error.tEstablish a single connection to a database. This must only be used by one thread at a time, cooperative or not.
val connect_pool : ?max_size:int -> Uri.t -> (module CONNECTION) Pool.tCreate a pool of connections which can be shared among multiple cooperative threads run from the main system thread.