O'Reilly logo
  • Patrick S thinks this is interesting:

Population works by pulling information into the model you're currently using from a second model. Unlike JOIN statements, these are actually separate queries. First you retrieve your primary set of data from a collection, and once that is returned, you "populate" the required data from a secondary collection. We'll see this in some code very soon.


Cover of Mongoose for Application Development