Skip to content
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

conn.Begin() is deprecated #1

Closed
giniedp opened this issue Mar 9, 2018 · 2 comments
Closed

conn.Begin() is deprecated #1

giniedp opened this issue Mar 9, 2018 · 2 comments
Assignees

Comments

@giniedp
Copy link

giniedp commented Mar 9, 2018

the Connection method Begin is now deprecated and the driver should implement BeginTx instead, or additionally. Just wanted to ask if you are going to implement that in the near future.

https://golang.org/pkg/database/sql/driver/#Conn
https://golang.org/pkg/database/sql/driver/#ConnBeginTx

@asifjalil
Copy link
Owner

@giniedp thanks for pointing out Conn and ConnBeginTx. I didn't know about them. I will look into implementing them.

@asifjalil asifjalil self-assigned this Mar 9, 2018
@asifjalil
Copy link
Owner

I just released v1.1.0. This release implemented ConnBeingTx and ConnPrepareContext.

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

No branches or pull requests

2 participants