Hey, thank you in advance for reading this post. I basically have data like this:
{
"fruits": {
"banana": [{
"name": "goodBanana",
"ripe": true
}, {
"name": "badBanana",
"ripe": false
}]
}
}
I would like to find documents where there are “goodBanana” in their array of “banana”. I am experimenting with the $in operator but I am having trouble using objects in the expression field. Please let me know the best practice to query this type of data.
Thank you.