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