Access root document map in the $filter aggregation (MongoDb)
I apologize for the vague question description, but I have quite a complex question regarding filtration in MongoDB aggregations. Please, see my data schema to understand the question better: Company { _id: ObjectId name: string } License { _id: ObjectId…