mongodb project database server code example Example: mongodb project { $project: { "contact.address.country": 1, contact: 1 } }