Difference: Mongoose populate and Embedded document -


what ideal situation use mongoose populate , embedded document, why choose 1 on other? advantages , disadvantages. thanks!

the answer depends! depends on use case , way system is. there couple of resources give insight on that.

here 1 stackoverflow answer: mongodb relationships: embed or reference?

there complete book, containing several use cases , discussing on same topic. may find read:

http://www.amazon.com/mongodb-applied-design-patterns-copeland/dp/1449340040/

it contains several use cases of social networking site, cms, ecommerce, online gaming etc.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -