I need to use these values within a custom query, using IN operator.
The problem is that the values of the array are string and the field I’m using the IN operator is an integer field.
Any tips on how to use an array as a parameter, converting its values to int using IN operator?
Thanks @otavionestares for this clear picture. I’d never got the ANY operator to work with variables in custom queries before… this little bit of syntax has sorted the issue.