SyntaxFix
Write A Post
Hire A Developer
Questions
I think you can use db.collection.distinct(fields,query)
db.collection.distinct(fields,query)
You will be able to get the distinct values in your case for NetworkID.
It should be something like this :
Db.collection.distinct('NetworkID')