I am using mongodb driver for NodeJs, there are 3 methods in it:
1) db.collection.insert
2) db.collection.insertOne
3) db.collection.insertMany
I find that db.collection.insert does the job of both insertOne as well as insertMany.
I also find the same methods for delete & Updates.
Are there any performance impact in calling the db.collection.insert method vis-a-vis the db.collection.insertOne & db.collection.insertMany methods ?
It is safe to assume that I am working in a collection which will have million records at some point in time.