Module: ROM::SQL::Commands::Postgres::Update
- Defined in:
- lib/rom/sql/commands_ext/postgres.rb
Instance Method Summary collapse
Instance Method Details
#update(tuple) ⇒ Object
21 22 23 |
# File 'lib/rom/sql/commands_ext/postgres.rb', line 21 def update(tuple) relation.dataset.returning(*relation.columns).update(tuple) end |