mongo
mongo copied to clipboard
Add a condition for judging whether it is a BulkWriteError or not
Add a condition for judging whether it is a BulkWriteError or not in curd_api.js, or it will occur "TpyeError: err.hasWriteErrors is not a function"
Thanks for your pull request. Please take a look at the Contributing to MongoDB section of the wiki for more information on how to get started.
Thanks, Ramón.