Похожие чаты

I need to write multiple documents with multiple schemas. I

need to be sure that everything successes or nothing must be written.
I found .insertMany but with a single schema

How can I do this behavior (everything or nothing) with multiple schemas?

EDIT: problem solved below

1 ответов

5 просмотров

https://mongoosejs.com/docs/transactions.html

Похожие вопросы

Карта сайта