So, I am having an aggregate query
{ $match: { 'projects.status.status': 'Approved' , 'projects.status.college_id': '$collegeDetail._id' }},
within which I am having this Match Query , where first part of the match query return correct document if latter part is removed.
$collegeDetail._id Is unable to match the correct element. Though the id in this field is same and of same data type as that of (projects.status.college_id)
Any help would be appreciated. Thanks.