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