Best way to Design a blog schema mongodb
I am trying to find the best way to design a blog site data schema for
mongodb where the documents are:
user, discussion comment
is it best to use normalization i.e make discussion a sub document (array)
of user and make comment a sub document of (array) discussion or is it
better to denormalize by making each document a separate collection.
operations on discussion and comment include all CRUD operations
No comments:
Post a Comment