lib/alf/sequel/unit_of_work/update.rb in alf-sequel-0.14.0 vs lib/alf/sequel/unit_of_work/update.rb in alf-sequel-0.15.0

- old
+ new

@@ -37,12 +37,12 @@ mr, pkey = matching_relation, connection.keys(@relvar_name).first if mr.to_attr_list == pkey.to_attr_list mr else filter = mr.tuple_extract.to_hash - tuples = connection.cog(@relvar_name) - .filter(nil, filter) - .select(nil, pkey.to_a) + tuples = connection.dataset(@relvar_name) + .filter(filter) + .select(pkey.to_a) Relation(tuples) end end private