class ROM::Memory::Commands::Update
In-memory update command
@api public
Public Instance Methods
execute(params)
click to toggle source
@see ROM::Commands::Update#execute
# File lib/rom/memory/commands.rb, line 36 def execute(params) attributes = input[params] relation.map { |tuple| tuple.update(attributes.to_h) } end