populate in nodejs and mongoose not worked
You want your query to populate specific fields, not model names
await TravelRequestModel.find({}) .populate('userId') .exec();
This is because if you had multiple fields that reference the same model, you want to be able to pick and choose which fields to populate.