here is my schema:
var UserSchema = new Schema({ email: String, name: String, city: String, username: String, profilePic: String, phoneNo
try to do this:
applicantListToExport: function (query, callback) { this .find(query).select({'advtId': 0}) .populate({ path: 'influId', model: 'influencer', select: { '_id': 1,'user':1}, populate: { path: 'userid', model: 'User' } }) .populate('campaignId',{'campaignTitle':1}) .exec(callback); }