[jOOQ/jOOQ#18753] Insert::$updateSet doesn't replace the SET clause, but appends to it
This commit is contained in:
parent
565ab6b916
commit
4878ff8cef
@ -1391,7 +1391,10 @@ implements
|
||||
if ($updateSet() == newUpdateSet)
|
||||
return this;
|
||||
else
|
||||
return copy(i -> i.addValuesForUpdate(newUpdateSet));
|
||||
return copy(i -> {
|
||||
i.updateMap.clear();
|
||||
i.updateMap.putAll(newUpdateSet);
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
Reference in New Issue
Block a user