avo
avo copied to clipboard
Add negative array conditions
trafficstars
Feature
In avo-dynamic_filters here we have positive conditions and we'd need some negative ones.
# positive
array_eq: :eq,
array_contains: :contains,
array_overlap: :overlaps,
array_contained_in: :contained_in_array,
We need to think about which ones to make.
We're already using all array search helpers that postgres_ext gem provide.
We need to either generate some custom SQL or research more.
Since we're using ransack for the dynamic filter system, here is a related issue (our implementation is inspired from this issue).
Can't we "add a not" to those that we already have?
IDK, I'm asking...
That is a possible solution, it may work for some of them