hasura / hasura/graphql-engine

Add query and permission operators to support array-type columns

Open
#7,433 2 comments 5 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.