DB::Pool(T)
Constructors
new(pool_options : Options = Options.new, &factory : -> T)
Sourcenew(initial_pool_size = 1, max_pool_size = 0, max_idle_pool_size = 1, checkout_timeout = 5.0, retry_attempts = 1, retry_delay = 0.2, &factory : -> T)
DEPRECATED Use #new with DB::Pool::Options instead
Instance methods
checkout
Sourcecheckout
Sourcerelease(resource : T) : Nil
Source