Class: Simple::SQL::Connection::DefaultConnection
- Inherits:
-
Simple::SQL::Connection
- Object
- Simple::SQL::Connection
- Simple::SQL::Connection::DefaultConnection
- Defined in:
- lib/simple/sql/connection.rb
Overview
– specific connection classes ——————————————–
Constant Summary
Constants inherited from Simple::SQL::Connection
Instance Method Summary collapse
- #disconnect! ⇒ Object
-
#initialize ⇒ DefaultConnection
constructor
A new instance of DefaultConnection.
Methods inherited from Simple::SQL::Connection
#all, #ask, create, #duplicate, #each, #estimate_cost, #exec, #in_transaction?, #insert, #lock!, #locked, #print, #raw_connection, #reflection, #reset_reflection, #scope, #transaction, #type_info
Constructor Details
#initialize ⇒ DefaultConnection
Returns a new instance of DefaultConnection.
53 54 55 |
# File 'lib/simple/sql/connection.rb', line 53 def initialize @active_record_class = ::ActiveRecord::Base end |
Instance Method Details
#disconnect! ⇒ Object
57 |
# File 'lib/simple/sql/connection.rb', line 57 def disconnect!; end |