Question: what is the difference between insert and save in mongodb?
Answer: Functionally, save and insert are very similar, especially if no _id value is passed. However, if an _id key is passed, save() will update the document, while insert() will throw a duplicate key error.