Skip to content

Add missing Tx.NamedQueryContext #914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

michaelshobbs
Copy link

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.

@michaelshobbs michaelshobbs force-pushed the feature/tx-named-query-context branch 2 times, most recently from 55c1417 to 6133f16 Compare February 23, 2024 19:48
@michaelshobbs michaelshobbs force-pushed the feature/tx-named-query-context branch from 6133f16 to e19240b Compare February 23, 2024 19:50
@ringmaster217
Copy link

@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?

@dlsniper
Copy link
Collaborator

Hi, @ringmaster217.

This is a duplicate of at least a few other opened PRs, e.g., #724 or #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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants