We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some libraries like sqlmock initialise and return the standard library sql.DB which is not compatible with trace/sql.DB as they are different types.
No.
A function can wrap the standard library sql.DB which will allow support for libraries like sqlmock. This solution has been implemented in #178.
Another function that can return the underlying sql.DB can be used for sql code that requires no tracing.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe
Some libraries like sqlmock initialise and return the standard library sql.DB which is not compatible with trace/sql.DB as they are different types.
Is this a bug? Please provide steps to reproduce, a failing test etc.
No.
Describe the solution
A function can wrap the standard library sql.DB which will allow support for libraries like sqlmock. This solution has been implemented in #178.
Additional context
Another function that can return the underlying sql.DB can be used for sql code that requires no tracing.
The text was updated successfully, but these errors were encountered: