Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add Begin transaction methods to pgx & sql db code templates#4024

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
Eyal-Shalev wants to merge2 commits intosqlc-dev:main
base:main
Choose a base branch
Loading
fromEyal-Shalev:patch-1

Conversation

Eyal-Shalev
Copy link

@Eyal-ShalevEyal-Shalev commentedJul 18, 2025
edited
Loading

The DB connection and pool objects already have a method to start a new transaction.

So I updated the DBTX to reflect them. Also I added a corresponding method to the Queries struct to start a transaction using these methods.

@dosubotdosubotbot added size:SThis PR changes 10-29 lines, ignoring generated files. 🔧 golang labelsJul 18, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
size:SThis PR changes 10-29 lines, ignoring generated files.🔧 golang
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@Eyal-Shalev

[8]ページ先頭

©2009-2025 Movatter.jp