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

Postgres - support array operators #4933

Open
dbacinski opened this issue Dec 22, 2023 · 0 comments · May be fixed by #5228
Open

Postgres - support array operators #4933

dbacinski opened this issue Dec 22, 2023 · 0 comments · May be fixed by #5228
Labels

Comments

@dbacinski
Copy link

Description

I have a column with array type

:tags INT[]

and I need to check if array contains any of elements

WHERE tags @> :tags

It is essentially IN query but for arrays.

https://www.postgresql.org/docs/current/functions-array.html
https://stackoverflow.com/a/54069718

similar to what was done for json type #3009

@griffio griffio linked a pull request May 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant