Hi there,
The docs say that the actual value in the collection may be an array, not the parameter you pass to ne(). The difference:
- your expected behavior: only items where the value of the field matches none of the items of the supplied array are returned
- actual behavior: only items where the value of the field (which is an array) does not contain the supplied value are returned
Try this instead:
query.not(wixData.query(collectionId).hasSome('row_num', exclusions))