You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MyModel.create([data1,data2,data3], function(error, doc1, doc2, doc3){
})
and there was an error creating doc2 only, doc1 and doc3 will be created but will not be passed back to the callback function so we only have the error information but not the created documents information.
The text was updated successfully, but these errors were encountered:
if you do something like
MyModel.create([data1,data2,data3], function(error, doc1, doc2, doc3){ })
and there was an error creating doc2 only, doc1 and doc3 will be created but will not be passed back to the callback function so we only have the error information but not the created documents information.The text was updated successfully, but these errors were encountered: