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
Nishant Singh -
Ujwal -
Jaime Morgan Hitchcock -
eashwar ammu -
Top comments (0)