Class: Torque::PostgreSQL::Arel::Nodes::CrossJoin

Inherits:
Arel::Nodes::Join
  • Object
show all
Defined in:
lib/torque/postgresql/arel/nodes.rb,
sig/torque/postgresql/arel/nodes.rbs

Overview

A cross join, which PostgreSQL needs spelled out because an inner join without a condition is a syntax error

Instance Method Summary collapse

Constructor Details

#initialize(left, right = nil) ⇒ CrossJoin

Returns a new instance of CrossJoin.

Parameters:

  • left (arel_node)
  • right (arel_node, nil) (defaults to: nil)


87
88
89
# File 'lib/torque/postgresql/arel/nodes.rb', line 87

def initialize(left, right = nil)
  super
end