Reputation: 314
I'm starting a new website project and i would like to use DocumentDB as database instead of traditional RDBMS.
I will need two kind of documents to store:
May i put both kind in a single collection or should i create one collection for each?
Upvotes: 1
Views: 94
Reputation: 71026
How you do this is totally up to you - it's a fairly broad question, and there are good reasons for combining, and good reasons for separating. But objectively, you'll have some specific things to consider:
User
and Survey
documents, you need to keep this in mind.Upvotes: 2