You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently only update supports the RETURNING clause, but not the update_many.
This is limiting since sometimes you need to use an update_many when the update doesn't support a feature (like a column expression) but then you lose the returning.
Proposed Solutions
Add exec_with_returning to the UpdateMany struct.
Current Workarounds
You have to select back the rows.
The text was updated successfully, but these errors were encountered:
Motivation
Currently only
update
supports theRETURNING
clause, but not theupdate_many
.This is limiting since sometimes you need to use an
update_many
when theupdate
doesn't support a feature (like a column expression) but then you lose the returning.Proposed Solutions
Add
exec_with_returning
to theUpdateMany
struct.Current Workarounds
You have to select back the rows.
The text was updated successfully, but these errors were encountered: