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
Adam -
KARAN JAIN -
Freerain -
Josef Doctorovitz -
Top comments (0)