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

WHERE IN condition #2783

Closed
Flydexo opened this issue Aug 14, 2022 · 1 comment
Closed

WHERE IN condition #2783

Flydexo opened this issue Aug 14, 2022 · 1 comment
Labels

Comments

@Flydexo
Copy link

Flydexo commented Aug 14, 2022

How can I implement the WHERE IN condition because it doesn't seem to work like this

const request = `SELECT ${infos.join(",")} FROM global_elements WHERE id in $1`;
return (await pool.query(request, [ids])).rows;
@charmander
Copy link
Collaborator

Duplicate of #1452

@charmander charmander marked this as a duplicate of #1452 Aug 15, 2022
@charmander charmander closed this as not planned Won't fix, can't repro, duplicate, stale Aug 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants