module Axiom::Relation::Operation::Insertion::Methods

Public Instance Methods

insert(other) click to toggle source

Return a relation that represents an insertion into a relation

@example

insertion = relation.insert(other)

@param [Enumerable] other

@return [Insertion]

@api public

# File lib/axiom/relation/operation/insertion.rb, line 34
def insert(other)
  Insertion.new(self, coerce(other))
end