You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Blog.find({}).populate("categories","_id name slug").populate("taglists","_id name slug")
139
+
.populate("postedBy","_id name username profile").sort({createdAt: -1}).skip(skip).limit(limit)// second arguments is for particularly pupulating that specific field
140
+
.select("_id title slug excerpt categories taglists postedBy createdAt updatedAt")
0 commit comments