I have two documents one titled Album and the other titled Label. I am not sure I referenced the label id in the album document correctly but from searching around I think that is how it is done. If not I would appreciate the correction. What I want to do is pull up the album and the label in one query. something like db.find({"title": "myAlbum"} and then pull up the label document by saying "label_id": "someLabel" but I don't know how to syntactically do that. Any help would be appreciated.
the album document
"_id" : ObjectId("550509f247c02cab8ecde099"),
"title" : "myAlbum",
"artist" : "singer",
"published_date" : ISODate("2015-01-15T00:00:00Z"),
"tracks" : 15,
"label_id" : "someLabel"
the label document
"_id" : "someLabel",
"name" : "Label records",
"founded" : 1982,
"location" : "USA"