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