Class: ActiveRecord::QueryMethods::CTEJoin

Inherits:
Object
  • Object
show all
Defined in:
lib/active_record/relation/query_methods.rb

Overview

A wrapper to distinguish CTE joins from other nodes.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ CTEJoin

Returns a new instance of CTEJoin.



151
152
153
# File 'lib/active_record/relation/query_methods.rb', line 151

def initialize(name)
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

:nodoc:



149
150
151
# File 'lib/active_record/relation/query_methods.rb', line 149

def name
  @name
end