I have a data like follows
"student" : [
ObjectId("58500ea5ef914125073b040f"),
ObjectId("58500ea5ef914125073b042e")
],
my model,
student: [{type: Schema.ObjectId,ref: 'Student'}],
I want to populate student in these array,
Classroom.findById(id).populate('student.student'){}
It is not working,can anyone please suggest help.Thanks.