How to match array from parent table and join another table with matched id from parent table
Group.aggregate([ { "$match": { _id:{ $in: groupids}} },