Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

operator to return specific data of a mongodb query

db.inventory.find( { status: "A" }, { item: 1, status: 1 } )
Source by docs.mongodb.com #
 
PREVIOUS NEXT
Tagged: #operator #return #specific #data #mongodb #query
ADD COMMENT
Topic
Name
2+1 =