Nested collections

I am rather new to MongoDB, and worked a lot with Firebase before.
In Firebase you can create collections within a collection by adding one to an existing document.
My question: is it possible to have collections within a collection in MongoDB Atlas Dataservice?

No you cannot since a collection is part of a database.

Yes you can if you think that a collection is a list of document. You may see an array of documents as a collection. But it won’t be a collection as we know it in MongoDB.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.