Class: ActiveRecord::StatementCache::Query
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/statement_cache.rb
Overview
:nodoc:
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(sql) ⇒ Query
constructor
:nodoc:.
- #sql_for(binds, connection) ⇒ Object
Constructor Details
#initialize(sql) ⇒ Query
:nodoc:
34 35 36 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/statement_cache.rb', line 34 def initialize(sql) @sql = sql end |
Instance Method Details
#sql_for(binds, connection) ⇒ Object
38 39 40 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/statement_cache.rb', line 38 def sql_for(binds, connection) @sql end |