lib/alf/sequel/unit_of_work/update.rb in alf-sequel-0.13.0 vs lib/alf/sequel/unit_of_work/update.rb in alf-sequel-0.14.0
- old
+ new
@@ -38,11 +38,11 @@
if mr.to_attr_list == pkey.to_attr_list
mr
else
filter = mr.tuple_extract.to_hash
tuples = connection.cog(@relvar_name)
- .filter(filter)
- .select(pkey.to_a)
+ .filter(nil, filter)
+ .select(nil, pkey.to_a)
Relation(tuples)
end
end
private