Methods

Class/Module Index [+]

Quicksearch

Arel::DeleteManager

Public Class Methods

new(engine) click to toggle source
# File lib/arel/delete_manager.rb, line 3
def initialize engine
  super
  @ast = Nodes::DeleteStatement.new
  @ctx = @ast
end

Public Instance Methods

from(relation) click to toggle source
# File lib/arel/delete_manager.rb, line 9
def from relation
  @ast.relation = relation
  self
end
wheres=(list) click to toggle source
# File lib/arel/delete_manager.rb, line 14
def wheres= list
  @ast.wheres = list
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.