Method: Sequel::SingleConnectionPool#disconnect

Defined in:
lib/sequel/connection_pool/single.rb

#disconnect(opts = nil) ⇒ Object

Disconnect the connection from the database.



13
14
15
16
17
# File 'lib/sequel/connection_pool/single.rb', line 13

def disconnect(opts=nil)
  return unless @conn
  disconnect_connection(@conn)
  @conn = nil
end