Answers for "how to select only few columns in mongodb"

Go
8

how to select few columns in mongodb query

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

Code answers related to "how to select only few columns in mongodb"

Browse Popular Code Answers by Language