| Class | FlexiRecord::ConnectionPool |
| In: |
lib/flexirecord.rb
|
| Parent: | ThreadResourcePool |
A pool of database connections to be used exclusively by one thread at a time.
Creates a new ConnectionPool which automatically generates and caches Connection objects with the given options.
Wrapper for Connection#transaction for the Connection of the current thread.
Passes a Connection object to the given block, which then can be used by the current thread.