getting subdocument from document
问题 I have a collection that has a sub-document in it and I'm trying to find an easy way to get an exact document. { "_id" : ObjectId("59b0303bfe409a21fccc9523"), "CreatedOn" : ISODate("2017-07-22T15:55:00.000+0000"), "UpdatedOn" : ISODate("2017-07-22T15:55:00.000+0000"), "Guid" : "4F1D7541-FF27-4FEF-9BC4-CF27D2CB92BA", "Company" : "Demo Co.", "Departments" : [ { "CreatedOn" : ISODate("2017-07-22T15:55:00.000+0000"), "UpdatedOn" : ISODate("2017-07-22T15:55:00.000+0000"), "Guid" : "D5950FC8-91B1