lib/rom/sql/extensions/postgres/commands.rb in rom-sql-1.0.0.rc1 vs lib/rom/sql/extensions/postgres/commands.rb in rom-sql-1.0.0.rc2
- old
+ new
@@ -93,10 +93,10 @@
def execute(tuples)
inserted_tuples = with_input_tuples(tuples) do |tuple|
upsert(input[tuple], upsert_options)
end
- inserted_tuples.flatten
+ inserted_tuples.flatten(1)
end
# @api private
def upsert_options
@upsert_options ||= {