Reputation: 2289
I will try to ask so that there is a definitive answer. I am currently building an app that displays choose-your-own-adventure style books. In designing my data structure I initially was going to have a model to represent a book, then reference other documents in my database that had the pages and their content using query population. Now, I am considering making the book one giant document in mongo/mongoose. Are there any limits on mongodb or mongoose that prevent me from storing the book as one giant document?
Upvotes: 0
Views: 80
Reputation: 3013
Basically a document has 16MB of default size, it'll enough to store giant data.
Upvotes: 1