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

4

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 few columns in mongodb query"

Browse Popular Code Answers by Language