class Arel::Nodes::InsertStatement

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

# sig/arel/nodes/insert_statement.rbs

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

def eql?(other)

def eql?(other)
  self.class == other.class &&
    self.relation == other.relation &&
    self.columns == other.columns &&
    self.select == other.select &&
    self.values == other.values
end

def hash

def hash
  [@relation, @columns, @values, @select].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()
  @relation = relation
  @columns  = []
  @values   = nil
  @select   = nil
end

def initialize_copy(other)

def initialize_copy(other)
  super
  @columns = @columns.clone
  @values =  @values.clone if @values
  @select =  @select.clone if @select
end