class Arel::Nodes::SelectCore

Experimental RBS support (using type sampling data from the type_fusion project).

# sig/arel/nodes/select_core.rbs

class Arel::Nodes::SelectCore < Arel::Nodes::Arel::Nodes::Node
  def initialize: (?Arel::Table relation) -> void
end

def eql?(other)

def eql?(other)
  self.class == other.class &&
    self.source == other.source &&
    self.set_quantifier == other.set_quantifier &&
    self.optimizer_hints == other.optimizer_hints &&
    self.projections == other.projections &&
    self.wheres == other.wheres &&
    self.groups == other.groups &&
    self.havings == other.havings &&
    self.windows == other.windows &&
    self.comment == other.comment
end

def from

def from
  @source.left
end

def from=(value)

def from=(value)
  @source.left = value
end

def hash

def hash
  [
    @source, @set_quantifier, @projections, @optimizer_hints,
    @wheres, @groups, @havings, @windows, @comment
  ].hash
end

def initialize(relation = nil)

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: (?Arel::Table relation) -> void

This signature was generated using 33 samples from 2 applications.

def initialize(relation = nil)
  super()
  @source = JoinSource.new(relation)
  # https://ronsavage.github.io/SQL/sql-92.bnf.html#set%20quantifier
  @set_quantifier  = nil
  @optimizer_hints = nil
  @projections     = []
  @wheres          = []
  @groups          = []
  @havings         = []
  @windows         = []
  @comment         = nil
end

def initialize_copy(other)

def initialize_copy(other)
  super
  @source      = @source.clone if @source
  @projections = @projections.clone
  @wheres      = @wheres.clone
  @groups      = @groups.clone
  @havings     = @havings.clone
  @windows     = @windows.clone
end