Saturday, 13 May 2017

How to do relational table updation using transaction?

I am using pg-promise for my project. I have a scenario, where I have to insert in two tables, where the 2nd table needs the pk of 1st table as fk. How to do this using pg-promise transaction ? In docs I could only see non relational operations, is there any way to do this ?



via Lakshmipriya Mukundan

No comments:

Post a Comment