Closed michaelshobbs closed 7 months ago
@dlsniper I find myself needing this exact same addition, and you seem to be the most active contributor on this project at the moment. What would it take to get some eyes on this and get it merged?
Hi, @ringmaster217.
This is a duplicate of at least a few other opened PRs, e.g., https://github.com/jmoiron/sqlx/pull/724 or https://github.com/jmoiron/sqlx/pull/565.
I'll close this for now with the mention that it also lacks a test, which we have #724, for example.
As for merging the others, as @ardan-bkennedy and I are ramping up the maintenance of the repository, we'll try to merge this as soon as we can. Thank you for your understanding.
In an effort to use a postgres
INSERT ... RETURNING
stmt in a transaction, I found that there was a(*sqlx.Tx).NamedQuery
but not a(*sqlx.Tx).NamedQueryContext
. This PR attempts to remedy that.