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

Support any/some #105

Open
tanzaku opened this issue Oct 22, 2024 · 0 comments
Open

Support any/some #105

tanzaku opened this issue Oct 22, 2024 · 0 comments

Comments

@tanzaku
Copy link
Collaborator

tanzaku commented Oct 22, 2024

input

SELECT * FROM tbl t WHERE t.id = ANY (t.ids);
SELECT t.id = ANY (t.ids) as flg FROM tbl t;

reference

https://www.postgresql.org/docs/current/functions-subquery.html#FUNCTIONS-SUBQUERY-ANY-SOME:~:text=IN%20is%20null.-,9.24.4.%C2%A0ANY/SOME%20%23,-expression%20operator%20ANY

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