find() in mongodb with custom field code example
Example: get custom fields in result of mongodb query
db.inventory.find( { age: "10" }, { _id: 0 , age: 1, user: { name: 1 } } )
db.inventory.find( { age: "10" }, { _id: 0 , age: 1, user: { name: 1 } } )