class Arel::DeleteManager - arel-4.0.2 Documentation

# class Arel::DeleteManager

### Public Class Methods

new(engine) click to toggle source
Calls superclass method Arel::TreeManager.new

    # 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