Techiio-author
Started by Jimmy LittleSep 25, 2021

Open
ACID transactions in mongodb

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I have a question about doing ACID transactions in mongodb using node.

If I was to await several queries inside a Promise.all() which was inside an acid transaction, would all the queries roll back if one failed?

Basically what I'm asking is, do acid transactions work when using promise.all() inside the acid transaction ?

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance