Mongodb – How do I constrain my query in mongo, where I need a conditional join on the results
I have a large collection of JSON documents that has many entries of the following format (contents in my example are important to my question): doc1 { "data": [{ "entry": { "fieldA": "aaa", "fieldB": "xxx" } }, { "entry": {…