hasura / hasura/graphql-engine
Add query and permission operators to support array-type columns
Open
- Dominant language
- TypeScript
- Stars
- 32.1k
- Forks
- 3k
- PR merge metrics
- PR metrics pending
Description
It would be very useful to have operators that worked on array columns (e.g. `text[]`).
Sometimes you just really want to use an array column for something. And the currently-supported operators like `_in` are not especially useful for working with them.
Looking at the [Postgres docs](https://www.postgresql.org/docs/13/functions-array.html), it seems like the following would be useful:
* `@>` - `_contains`
* `<@` - `_contained_in`
* `&&` - `_overlap`
Contributor guide
Assessment
This issue has not been assessed yet.