Friction

Workaround · API & developer experience · Blocks work

Cannot query an array attribute against an array of values

1 source thread · first seen 2022-02

Summary

The user wants an array-in-array comparison but the equal query returns nothing. The workaround is a function that explodes the array into a separate collection so an OR can be used, which creates a large collection.

Affects
developer querying array attributes
Workaround
Use a function to explode array values into a new collection, then use an OR comparison

Evidence

Excerpts are copied word for word from the source; follow the link to read it in full.

“What I am trying to do is basically an "Array IN Array" comparison”

Report this item