💾 Archived View for radia.bortzmeyer.org › fosdem › event-11333.gmi captured on 2023-12-28 at 20:19:17. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-06-14)
-=-=-=-=-=-=-
Rucha Deodhar
Type lightningtalk
RETURNING result set in DML statements
Starts on day 2 (2021-02-07) at 14:20 (Brussels time, UTC+1) in room Lightningtalks (duration 00:20)
Matrix room #lightningtalks:fosdem.org
RETURNING retrieves the modified, inserted or deleted values of columns. Without RETURNING, there would be a need to run an extra SELECT query.So, along with many other benefits like triggering actions in your application based on what really gets modified, it helps to avoid a round trip and still gets the same job done! Number of queries running can be important for performance of your application as well. So you can have your cake and eat it too!