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