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

Add array-type operators #235

Open
michalgm opened this issue Nov 11, 2019 · 1 comment
Open

Add array-type operators #235

michalgm opened this issue Nov 11, 2019 · 1 comment

Comments

@michalgm
Copy link

It would be nice to have operators for postgres array-type fields:
https://www.postgresql.org/docs/9.0/functions-array.html
Incoming PR to add:

  • contains (@>)
  • contained_by (<@)
  • overlap (&&)
@MarcGodard
Copy link

I agree to this, this has been causing a lot of issues. I have been storing arrays into json fields, as JSON.stringify, but I cannot query these. Been trying to figure out a way around this and other than storing it as text, then managing it... I cannot seem to find an easy way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants