Javascript – Why insertMany does not create ObjectIds in mongoose?
Currently I'm developing an APP using Node.JS and MongoDB. I'm trying to insert multiple documents with predefined _id s and some ObjectId arrays. When I use insertMany all documents _id fields are strings instead of ObjectId. However when I use…