Class: SQL::Statement::JoinedTable

Inherits:
Node
  • Object
show all
Defined in:
lib/sql/statement.rb

Direct Known Subclasses

CrossJoin, QualifiedJoin

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Node

#accept, #to_sql

Constructor Details

#initialize(left, right) ⇒ JoinedTable

Returns a new instance of JoinedTable.


270
271
272
273
# File 'lib/sql/statement.rb', line 270

def initialize(left, right)
  @left = left
  @right = right
end

Instance Attribute Details

#leftObject (readonly)

Returns the value of attribute left


275
276
277
# File 'lib/sql/statement.rb', line 275

def left
  @left
end

#rightObject (readonly)

Returns the value of attribute right


276
277
278
# File 'lib/sql/statement.rb', line 276

def right
  @right
end