This page in the documentation says you can access a collection using c[name]
or c.name
, where c is a Collection, but what exactly does a sub-collection mean? I couldn't find any use of the term in the mongodb docs.
What I'm assuming, is that it gets the value of each document at key name
, wihtin the collection, and represents that as its own collection. Is this the case?