Json – Query child documents based off field that is only present in parent?
In my MongoDB collection I have a documents that follow a parent-child structure. Each parent doc typically has 4 fields, with the children having 3 (no group field). parent: { _id: doc_123 parent_id: 123 active: true group: A } children…