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
Looking through the code, it seems the standard mongoose create method is also used when passing an array of objects.
Would it be possible to add an option to use InsertMany instead when passing an array of objects? InsertMany is faster as it will only send one operation to database instead of one for each document.
Looking through the code, it seems the standard mongoose create method is also used when passing an array of objects.
Would it be possible to add an option to use InsertMany instead when passing an array of objects? InsertMany is faster as it will only send one operation to database instead of one for each document.
https://mongoosejs.com/docs/api/model.html#model_Model.insertMany
Thanks,
Rune
The text was updated successfully, but these errors were encountered: