Answers for "how to distinct array elements in mongodb in $project"

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 distinct array elements in mongodb in $project"

Browse Popular Code Answers by Language