Category "mongoose-populate"

How to sort data based on entry of parent collection in mongodb using mongooose package

How to sort data based on entry of parent collection in mongodb using mongoose package. My schema is organised as given below Profile Schema const mongoose

Can't populate Mongoose schema on express route

So I want to populate two things and return them in the response, I want to return an array of images and the author. However the response returns nothing, if I

Multiple schema references in single schema array - mongoose

Can you populate an array in a mongoose schema with references to a few different schema options? To clarify the question a bit, say I have the following schem