class Arel::Nodes::SelectStatement
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/arel/nodes/select_statement.rbs class Arel::Nodes::SelectStatement < Arel::Nodes::Arel::Nodes::NodeExpression def initialize: (?Arel::Table relation) -> void end
def eql?(other)
def eql?(other) self.class == other.class && self.cores == other.cores && self.orders == other.orders && self.limit == other.limit && self.lock == other.lock && self.offset == other.offset && self.with == other.with end
def hash
def hash [@cores, @orders, @limit, @lock, @offset, @with].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 4 samples from 1 application.
def initialize(relation = nil) super() @cores = [SelectCore.new(relation)] @orders = [] @limit = nil @lock = nil @offset = nil @with = nil end
def initialize_copy(other)
def initialize_copy(other) super @cores = @cores.map { |x| x.clone } @orders = @orders.map { |x| x.clone } end