DEV Community

Discussion on: Comparing Data Handling in MySQL and PostgreSQL: the RETURNING clause and CTE's

 
gduple profile image
Grant

Yes, it would be one connection if I understand what you are asking, though you would presumably do multiple steps within a transaction, so that you have better control of how the overall operation behaves (for ACID compliance).

Thread Thread
 
anduser96 profile image
Andrei Gatej

Got it! Thank you!