Day 29: Populate Method & Nested Models (MongoDB + Mongoose)
Feb 12 路 3 min read 路 馃敼 Why Do We Need populate()? In MongoDB, collections are separate.When we use referencing, we only store an ID, not full data. Example: { "passengerName": "Amit", "train": "65fae91c2b..." } This ID alone is not useful for UI. 馃憠 populate() help...
Join discussion

