Sha256: 5ea4fee17d15f33c04845de77dba72bdcf22e4f338887363cb1254a21af32900

Contents?: true

Size: 327 Bytes

Versions: 4

Compression:

Stored size: 327 Bytes

Contents

require 'rom/command'

module ROM
  module Commands
    # Update command
    #
    # This command updates all tuples in its relation with new attributes
    #
    # @abstract
    class Update < Command
      # @see AbstractCommand#call
      def call(*args)
        assert_tuple_count
        super
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rom-1.0.0 lib/rom/commands/update.rb
rom-1.0.0.rc1 lib/rom/commands/update.rb
rom-1.0.0.beta2 lib/rom/commands/update.rb
rom-1.0.0.beta1 lib/rom/commands/update.rb