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.1.7.10 lib/arel/delete_manager.rb
activerecord-6.1.7.9 lib/arel/delete_manager.rb
activerecord-6.1.7.8 lib/arel/delete_manager.rb
activerecord-6.1.7.7 lib/arel/delete_manager.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/arel/delete_manager.rb
activerecord-6.1.7.6 lib/arel/delete_manager.rb
activerecord-6.1.7.5 lib/arel/delete_manager.rb
activerecord-6.1.7.4 lib/arel/delete_manager.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/activerecord-6.1.6.1/lib/arel/delete_manager.rb
activerecord-6.1.7.3 lib/arel/delete_manager.rb
activerecord-6.1.7.2 lib/arel/delete_manager.rb
activerecord-6.1.7.1 lib/arel/delete_manager.rb
activerecord-6.0.6.1 lib/arel/delete_manager.rb
activerecord-6.1.7 lib/arel/delete_manager.rb
activerecord-6.0.6 lib/arel/delete_manager.rb
activerecord-6.1.6.1 lib/arel/delete_manager.rb
activerecord-6.0.5.1 lib/arel/delete_manager.rb
activerecord-6.0.5 lib/arel/delete_manager.rb
activerecord-6.1.6 lib/arel/delete_manager.rb
activerecord-6.1.5.1 lib/arel/delete_manager.rb