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
argon-1.3.1 vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/arel/delete_manager.rb
symbolic_enum-1.1.5 vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.2.1/lib/arel/delete_manager.rb
activerecord-6.0.2.1 lib/arel/delete_manager.rb
activerecord-6.0.2 lib/arel/delete_manager.rb
activerecord-6.0.2.rc2 lib/arel/delete_manager.rb
activerecord-6.0.2.rc1 lib/arel/delete_manager.rb
activerecord-6.0.1 lib/arel/delete_manager.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/activerecord-6.0.0/lib/arel/delete_manager.rb
activerecord-6.0.1.rc1 lib/arel/delete_manager.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/activerecord-6.0.0/lib/arel/delete_manager.rb
activerecord-6.0.0 lib/arel/delete_manager.rb
activerecord-6.0.0.rc2 lib/arel/delete_manager.rb
activerecord-6.0.0.rc1 lib/arel/delete_manager.rb
activerecord-6.0.0.beta3 lib/arel/delete_manager.rb
activerecord-6.0.0.beta2 lib/arel/delete_manager.rb
activerecord-6.0.0.beta1 lib/arel/delete_manager.rb