How to exclude null values from Mongoose populate query
问题 I am building an app and I have create 2 models. const UserSchema = new Schema({ _id: Schema.Types.ObjectId, account:{ type: String, unique: true }, email: String, first_name: String, last_name: String } const VenueSchema = new Schema({ _id: Schema.Types.ObjectId, venue_type: String, capacity: Number }) and const MediatorSchema = new Schema({ _id: Schema.Types.ObjectId, account:{ type: String, unique: true }, user: {type: Schema.Types.ObjectId, ref:'User' } venue: {type: Schema.Types.ObjectId