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

argument not replaced when inside subquery #671

Open
rafaelvanoni opened this issue Jul 30, 2022 · 0 comments
Open

argument not replaced when inside subquery #671

rafaelvanoni opened this issue Jul 30, 2022 · 0 comments

Comments

@rafaelvanoni
Copy link

I have a query in this form

SELECT ...
FROM  ...
JOIN (SELECT ...
          FROM ...
          WHERE ... IN ? )
....

I've tried running it with Query(argSlice) or even with a prepared statement but the ? is never replaced with the contents of argSlice. I also tried bulding subqueries with chained methods with no success.

Is there a better way of doing this?

Thanks

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