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.



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