package caqti
Abstraction over multiple database libraries
Install
Dune Dependency
Authors
Maintainers
Sources
caqti-0.9.0.tbz
sha256=4c84a16d983d0fed2786f536a3fa4d8fa113b8b30b4deea4a74772582d5489b2
md5=42a2e2d3b73d7fbaecc618549aad2865
doc/caqti.v1/Caqti1_pool/Make/index.html
Module Caqti1_pool.Make
Source
Parameters
module System : Caqti1_system_sig.S
Signature
Source
val create :
?max_size:int ->
?check:('a -> (bool -> unit) -> unit) ->
?validate:('a -> bool System.io) ->
(unit -> 'a System.io) ->
('a -> unit System.io) ->
'a t
(internal) create alloc free
is a pool of resources allocated by alloc
and freed by free
. This is primarily indented for implementing the connect_pool
functions.
use f pool
calls f
on a resource drawn from pool
, handing back the resource to the pool when f
exits.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page