I have 2 collection types, Collection a has a property that holds an array with objects from collection b
- collection_a
{
id:a1,
collection_b: [b1,b2]
}
{
id:a1,
collection_b: [b2]
}
- collection_b
{
id:b1,
isOpen:true
}
{
id:b2,
isOpen:false
}
{
id:b3,
isOpen:false
}
I need to query all objects from the collection a that at least one of the connected collection_b items property isOpen is set to true.
Here is the filter I have tried and not working:
{'collection_b.isOpen' : true}