Sha256: 372d9dfa093eaed896b2c0c750683eedeaff77ba24d3c549056301eee1ee99ed

Contents?: true

Size: 426 Bytes

Versions: 5

Compression:

Stored size: 426 Bytes

Contents

# frozen_string_literal: true
module Arel
  module Nodes
    class DeleteStatement < Arel::Nodes::Binary
      attr_accessor :limit

      alias :relation :left
      alias :relation= :left=
      alias :wheres :right
      alias :wheres= :right=

      def initialize relation = nil, wheres = []
        super
      end

      def initialize_copy other
        super
        @right = @right.clone
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
spiral_form-0.1.1 vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/delete_statement.rb
spiral_form-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/delete_statement.rb
nullifyable-0.1.0 vendor/bundle/gems/arel-9.0.0/lib/arel/nodes/delete_statement.rb
arel-9.0.0 lib/arel/nodes/delete_statement.rb
arel-8.0.0 lib/arel/nodes/delete_statement.rb