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

Placeholder values are not replaced in ScalarSubqueries #5215

Closed
avantgardnerio opened this issue Feb 7, 2023 · 0 comments · Fixed by #5216
Closed

Placeholder values are not replaced in ScalarSubqueries #5215

avantgardnerio opened this issue Feb 7, 2023 · 0 comments · Fixed by #5216
Labels
bug Something isn't working

Comments

@avantgardnerio
Copy link
Contributor

Describe the bug

In a query such as:

SELECT id, age FROM person WHERE age = (select max(age) from person where id = $1)

The parameter $1 will not be replaced even if a parameter is specified.

To Reproduce

Run the query.

Expected behavior

The parameter is replaced with a value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant