Exist the postgres functions array on Ash queries

To be specific, i need check if a list exist in another list, i can use a calculation and use fragments, but dont know if i can be used directly from Ash.Filter like eq or not_eq
anyarray <@ anyarray → boolean

Is the first array contained by the second?

ARRAY[2,2,7] <@ ARRAY[1,7,4,2,6] → true
anyarray <@ anyarray → boolean

Is the first array contained by the second?

ARRAY[2,2,7] <@ ARRAY[1,7,4,2,6] → true
postgres docs: https://www.postgresql.org/docs/current/functions-array.html
PostgreSQL Documentation
9.19. Array Functions and Operators
9.19.&nbsp;Array Functions and Operators # Table&nbsp;9.54 shows the specialized operators available for array types. In addition to those, the usual …
1 Reply
ZachDaniel
ZachDaniel5mo ago
Nope, it requires fragments currently

Did you find this page helpful?