Group.find({program: {$in: [...]}})
.distinct('_id')
db.collection.distinct(field, query)
Finds the distinct values for a specified field across a single collection and returns the results in an array.
Group.find({program: {$in: [...]}})
.distinct('_id')
db.collection.distinct(field, query)
Finds the distinct values for a specified field across a single collection and returns the results in an array.
For further actions, you may consider blocking this person and/or reporting abuse
MD ARIFUL HAQUE -
Ankush Chudiwal -
Camilo Martinez -
HUSSIEN -
Top comments (0)