HI! I’m trying to find an elements on my database that has a value equal to any element of my array.
For example, I have the array [“red”,“brown”] in my code.
I want to search on the database any document that has the “color” value equal to any element of my array, so red or brown. But I’ve not found anything useful on MongoDB docs or on internet,
In my head sound like:
myCuster.myDB.find({"color": myArray}) But didn’t work