title: ERROR: Cannot read property '_id' of undefined
body: <p>I am trying to create a record using mongoose.js framework method <strong>model.Create</strong> as below example, i am geting an error as <strong>Cannot read property '_id' of undefined</strong></p>
  
  <pre><code>var schema = new mongoose.Schema({ name: 'string', size: 'string' });
  
      var Tank = mongoose.model('Tank', yourSchema);
  
      var Aryobj = [{ size: 'small' }, {size:'large'}];
  
      Tank.create(Aryobj, function (err, small, large) {
        if (err) return handleError(err);
         console.log("small ID:"+small._id);
         console.log("large ID:"+large._id);
  
      })
  </code></pre>
  
  <p>ther is any problem my code? any help is appreciated.</p>