Sha256: 3e3bc196bbcff031681b7e9b8c46fb23a5897f73eb166e9a8dc0730643a62df0

Contents?: true

Size: 312 Bytes

Versions: 10

Compression:

Stored size: 312 Bytes

Contents

require 'rom/command'

module ROM
  module Commands
    # Delete command
    #
    # This command removes tuples from its target relation
    #
    # @abstract
    class Delete < Command
      # @see AbstractCommand#call
      def call(*args)
        assert_tuple_count
        super
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rom-1.0.0 lib/rom/commands/delete.rb
rom-1.0.0.rc1 lib/rom/commands/delete.rb
rom-1.0.0.beta2 lib/rom/commands/delete.rb
rom-1.0.0.beta1 lib/rom/commands/delete.rb
rom-0.9.1 lib/rom/commands/delete.rb
rom-0.9.0 lib/rom/commands/delete.rb
rom-0.9.0.rc1 lib/rom/commands/delete.rb
rom-0.9.0.beta1 lib/rom/commands/delete.rb
rom-0.8.1 lib/rom/commands/delete.rb
rom-0.8.0 lib/rom/commands/delete.rb