Answers for "how to filter distinct fields in mongodb"

2

mongodb distinct

Db.collection.distinct('searchField')
Posted by: Guest on June-29-2020
1

find distinct in mongodb

db.inventory.distinct( "item.sku", { dept: "A" } )
Posted by: Guest on September-09-2020

Code answers related to "how to filter distinct fields in mongodb"

Browse Popular Code Answers by Language