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

Fix NamedValueChecker implemented on conn not used #61

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

Conversation

ypresto
Copy link

@ypresto ypresto commented Mar 31, 2021

Fixes #60

https://github.com/golang/go/blob/0e85fd7561de869add933801c531bf25dee9561c/src/database/sql/convert.go#L129

NamedValueChecker can also be implemented on connection, and above (golang's sql package) code fallbacks to it when statement does not implement it.
This PR implements same behavior.

@ypresto ypresto mentioned this pull request Apr 2, 2021
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.

uint64 issues
1 participant