Answers for "select specific fields in mongoose on find"

Go
8

mongoose find return only certain fields

db.inventory.find( { status: "A" }, { item: 1, status: 1 } )
Posted by: Guest on September-24-2020

Code answers related to "select specific fields in mongoose on find"

Browse Popular Code Answers by Language