[jOOQ/jOOQ#15625] QOM.Delete mutators produce a copy that always has a RETURNING clause

This commit is contained in:
Lukas Eder 2023-09-21 17:22:33 +02:00
parent 36673ae12e
commit bef6c3b187

View File

@ -432,7 +432,10 @@ implements
r.condition.addConditions(extractCondition(condition));
r.orderBy.addAll(orderBy);
r.limit = limit;
r.setReturning(returning);
if (!returning.isEmpty())
r.setReturning(returning);
finisher.accept(r);
return r;
}