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

Otelsql library not including query variables in the db.Statement attribute #54

Open
shaswa opened this issue Apr 21, 2022 · 0 comments

Comments

@shaswa
Copy link

shaswa commented Apr 21, 2022

The db.statement attribute is adding the query as in the following example.

SELECT * 
FROM example_table
WHERE id = ?

Is there a way to include the query arguments too like in the following example?

SELECT * 
FROM example_table
WHERE id = "e375b9b7-5f03-4166-a68b-4236aefb637d"
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

No branches or pull requests

1 participant