title: how to insert multiple JSON objects to one property of a schema?
body: <p>I have a requirement to store multiple JSON objects in a property of schema. 
  take this example...</p>
  
  <pre><code>     const Schema = require("mongoose").Schema;
  
       const Student= Schema({
          student_id: String,
          name:String
          attendance:[
                    { 
                   date: Date,
                   Status: String
                     }
                  ]
          });
  </code></pre>
  
  <p>I need to insert attendance of individual student which looks like this..</p>
  
  <pre><code>       student_id: student_001,
          name:'Joe'
          attendance:[
                       { 
                        date: 24-10-2018,
                        status: 'Present'
                       },
                       { 
                        date: 25-10-2018,
                        status: 'Absent'
                       },
                    //list goes on
                     ]
  </code></pre>
  
  <p>I am using NodeJs as Backend, EJS template as front end and mongodb database. Date and Status comes when user submits data from front end. So I am having hard time writing my post request. Any types of comments / suggestions / change of model structure are welcome. Thank you.</p>