how to query only specific data in mongo db and not all data code example
Example: mongodb select fields
db.inventory.find( { status: "A" }, { item: 1, status: 1 } )
db.inventory.find( { status: "A" }, { item: 1, status: 1 } )