Posts for moongoose

Deven
Deven wrote

How to use Populate in mongoose

In this article, you will learn about the mongoose populate. From version 3.2 or above, MongoDB has the join, like $lookup aggregation operator. But in mongoose, you will get a more powerful alternative which name is populate(). It will let you reference documents in other collections. In mongoose, Populate is the way of replacing a […]

October 18, 2021 in Code examples