Class: ActiveRecord::StatementCache::Query
Do not use. This class is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Subclasses:
|
|
Inherits: | Object |
Defined in: | activerecord/lib/active_record/statement_cache.rb |
Class Method Summary
- .new(sql) ⇒ Query constructor
Instance Method Summary
Constructor Details
.new(sql) ⇒ Query
# File 'activerecord/lib/active_record/statement_cache.rb', line 34
def initialize(sql) @sql = sql end
Instance Method Details
#sql_for(binds, connection)
[ GitHub ]# File 'activerecord/lib/active_record/statement_cache.rb', line 38
def sql_for(binds, connection) @sql end