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
Tristan Elliott -
01yym -
Kiolk -
Kazi Priom -
Top comments (0)