Class: Arel::Visitors::ToSql
- Defined in:
- lib/active_record/connection_adapters/ibm_db_adapter.rb,
lib/active_record/connection_adapters/ibm_db_adapter.rb
Overview
opening and closing the class to ensure backward compatibility
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(connection) ⇒ ToSql
constructor
A new instance of ToSql.
Constructor Details
#initialize(connection) ⇒ ToSql
Returns a new instance of ToSql.
3724 3725 3726 3727 3728 3729 3730 3731 |
# File 'lib/active_record/connection_adapters/ibm_db_adapter.rb', line 3724 def initialize connection super() @connection = connection @schema_cache = connection.schema_cache if(connection.respond_to?(:schema_cache)) @quoted_tables = {} @quoted_columns = {} @last_column = nil end |