My data structure is as follows:
{
_id: ...,
topLevelField: ...,
items: [{
field1: ...,
field2: ...
}]
}
I want to query all documents where topLevelField = 'X' OR the items array contains an object with field2 = 'Y'.
Is this possible in Meteor?
source
share