Class: ActiveRecord::QueryMethods::CTEJoin
- Inherits:
-
Object
- Object
- ActiveRecord::QueryMethods::CTEJoin
- Defined in:
- lib/active_record/relation/query_methods.rb
Overview
A wrapper to distinguish CTE joins from other nodes.
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
:nodoc:.
Instance Method Summary collapse
-
#initialize(name) ⇒ CTEJoin
constructor
A new instance of CTEJoin.
Constructor Details
#initialize(name) ⇒ CTEJoin
Returns a new instance of CTEJoin.
135 136 137 |
# File 'lib/active_record/relation/query_methods.rb', line 135 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
:nodoc:
133 134 135 |
# File 'lib/active_record/relation/query_methods.rb', line 133 def name @name end |