Ash FrameworkAF
Ash Framework8mo ago
2 replies
nicolkill

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


postgres docs: https://www.postgresql.org/docs/current/functions-array.html
PostgreSQL Documentation
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
9.19. Array Functions and Operators
Was this page helpful?