You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But I get an empty array as a result.
I also tried switching the key and value in the command, like whereIn("Colour (website)", "Brown"), but without result.
Another thing I tried is converting the colour field to json, so it becomes a 'flatter array' like this: [colour_website] => ["Brown"] but that also doesn't work.
What am I doing wrong?
The text was updated successfully, but these errors were encountered:
I'm trying to filter on a key that returns an array of colours, but I can't get it to work.
Example of data:
My code:
But I get an empty array as a result.
I also tried switching the key and value in the command, like
whereIn("Colour (website)", "Brown")
, but without result.Another thing I tried is converting the colour field to json, so it becomes a 'flatter array' like this:
[colour_website] => ["Brown"]
but that also doesn't work.What am I doing wrong?
The text was updated successfully, but these errors were encountered: