// Examples 15a and 15b demonstrate the use of the $unwind stage // in an aggregation pipeline. // In this version the Artist array is unwound. use moma2; db.Artworks.aggregate( [ { $match : { "Title" : "Hanselmann House, Fort Wayne, Indiana"}}, { $project : { "Title":1, "Artist" : 1}}, { $unwind : "$Artist" } ]);