Finally, my question. How can we return all of the contents for a nested document. If the query above should have done it, the one that returns 0 rows, what could I possibly be doing wrong?
However, because I am very novice when it comes to mongodb, I suspect that I am missing something very obvious here.
Right now, my collection has 1 document:
And to pull the entire document, and get the nested data that I am looking for, is possible with an empty find.
This matches my expectations:
But what I was hoping to do was something like below:
but this returns:
Finally, my question. How can we return all of the contents for a nested document. If the query above should have done it, the one that returns 0 rows, what could I possibly be doing wrong?
However, because I am very novice when it comes to mongodb, I suspect that I am missing something very obvious here.