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

Implement WithConnection for sqlserver database driver #794

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

selaux
Copy link

@selaux selaux commented Aug 16, 2022

Similar methods have already been implemented for the mysql and postgres database. This adds WithConnection(ctx context.Context, conn *sql.Conn, config *Config) (*SQLServer, error) to the SQL Server database driver as well.

Issues/PRs for this can be found here:

I tried to align as close as possible to the other implementations.

Note: The linter errors dont seem to be related to the contents of this PR.

@coveralls
Copy link

coveralls commented Aug 16, 2022

Coverage Status

Coverage increased (+0.03%) to 57.804% when pulling a5148ef on selaux:implement-with-connection-for-sql-server into 03613f1 on golang-migrate:master.

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

Successfully merging this pull request may close these issues.

None yet

2 participants