S
S
Shakir Darion2020-06-27 17:32:27
Node.js
Shakir Darion, 2020-06-27 17:32:27

Who is productive Model.prototype.sav() or Model.create()?

I am using mongoose, i need to save one document. Saving should be as fast as possible.

I know two ways Model.prototype.save() or Model.create().

What to choose? Model.prototype.save() or Model.create().

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question