I have 2 insert
queries.
In the second insert
query, I need the first insert
returned id
.
I am doing those queries as a transaction, because they depend each other.
So, is it possible to get the last insert id before committing transaction in postgres in Golang.