
JSJ 454: Mongoose, Mongo and Object Document Mapping (ODM) with Valeri Karpov
JavaScript Jabber
00:00
How to Denormalize the Most Popular Blog Post?
In escuel parlance, this would be called an up date nominally. The actual most popular bog post doesn't line up with what's in the user collection. You can also make it middle ware as well, where every time you increment the page views per month, or something like that,. You can also go and oupdate the user. But for the most part be very, very clashed if you want bo like, really up to date.
Transcript
Play full episode