title: How to populate through array of objects in mongoose
body: <p>I have  a data like follows</p>
  
  <pre><code> "student" : [ 
  ObjectId("58500ea5ef914125073b040f"),
  ObjectId("58500ea5ef914125073b042e")
  
  ],
  </code></pre>
  
  <p>my model,</p>
  
  <pre><code>  student: [{type: Schema.ObjectId,ref: 'Student'}],
  </code></pre>
  
  <p>I want to populate student in these array,</p>
  
  <pre><code>  Classroom.findById(id).populate('student.student'){}
  </code></pre>
  
  <p>It is not working,can anyone please suggest help.Thanks.</p>