Class: Simple::SQL::Connection::DefaultConnection

Inherits:
Simple::SQL::Connection show all
Defined in:
lib/simple/sql/connection.rb

Overview

– specific connection classes ——————————————–

Constant Summary

Constants inherited from Simple::SQL::Connection

Logging

Instance Method Summary collapse

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

#initializeDefaultConnection

Returns a new instance of DefaultConnection.



52
53
54
# File 'lib/simple/sql/connection.rb', line 52

def initialize
  @active_record_class = ::ActiveRecord::Base
end

Instance Method Details

#disconnect!Object



56
# File 'lib/simple/sql/connection.rb', line 56

def disconnect!; end