Sha256: 8828c0ec151a431db7b47153d066e721c1ca01a92b2d8a9e068052aa2172f572

Contents?: true

Size: 323 Bytes

Versions: 76

Compression:

Stored size: 323 Bytes

Contents

# frozen_string_literal: true

module Arel # :nodoc: all
  class DeleteManager < Arel::TreeManager
    include TreeManager::StatementMethods

    def initialize
      super
      @ast = Nodes::DeleteStatement.new
      @ctx = @ast
    end

    def from(relation)
      @ast.relation = relation
      self
    end
  end
end

Version data entries

76 entries across 76 versions & 7 rubygems

Version Path
activerecord-6.0.4 lib/arel/delete_manager.rb
activerecord-6.0.3.7 lib/arel/delete_manager.rb
activerecord-6.1.3.2 lib/arel/delete_manager.rb
activerecord-6.1.3.1 lib/arel/delete_manager.rb
activerecord-6.0.3.6 lib/arel/delete_manager.rb
activerecord-6.1.3 lib/arel/delete_manager.rb
activerecord-6.1.2.1 lib/arel/delete_manager.rb
activerecord-6.0.3.5 lib/arel/delete_manager.rb
activerecord-6.1.2 lib/arel/delete_manager.rb
activerecord-6.1.1 lib/arel/delete_manager.rb
activerecord-6.1.0 lib/arel/delete_manager.rb
activerecord-6.1.0.rc2 lib/arel/delete_manager.rb
activerecord-6.1.0.rc1 lib/arel/delete_manager.rb
activerecord-6.0.3.4 lib/arel/delete_manager.rb
activerecord-6.0.3.3 lib/arel/delete_manager.rb
activerecord-6.0.3.2 lib/arel/delete_manager.rb
activerecord-6.0.3.1 lib/arel/delete_manager.rb
activerecord-6.0.3 lib/arel/delete_manager.rb
activerecord-6.0.3.rc1 lib/arel/delete_manager.rb
activerecord-6.0.2.2 lib/arel/delete_manager.rb