module Sequel::TemporarilyReleaseConnection::DatabaseMethods

  1. lib/sequel/extensions/temporarily_release_connection.rb

Methods

Public Instance

  1. temporarily_release_connection

Public Instance methods

temporarily_release_connection(conn, server=:default, &block)

Temporarily release the connection back to the connection pool for the duration of the block.

[show source]
   # File lib/sequel/extensions/temporarily_release_connection.rb
58 def temporarily_release_connection(conn, server=:default, &block)
59   pool.temporarily_release_connection(conn, server, &block)
60 end