feathers-knex
feathers-knex copied to clipboard
Add array-type operators
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 (
&&)
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.