What are the good practices when inserting data using mongoose model?

Is it a good practice to use model.create ?
since there’s no insertOne defined on the model

yeh as far as i know theres nothing wrong with it.

it might actually be the best solution since you can either insert 1 or more documents with it

1 Like