Back

How do I do an atomic transactions to a database?

  • 0
  • Databases
  • Web
Toli
9 Dec, 2023, 11:15

Hi everyone! How do I do an atomic transaction to a database? Say I need to send, from the client side, two requests, one create and one update. And I want them to either fail or succeed together. How do I do it?

E.g. Firebase has it: https://firebase.google.com/docs/firestore/manage-data/transactions

TL;DR
The user is asking for help on how to perform an atomic transaction to a database. They mention that transactions are not currently supported and provide a link to an issue for support. They also mention Firebase as an example of a service that supports atomic transactions.
Drake
9 Dec, 2023, 16:05

Transactions aren't supported yet. You might want to 👍 this issue: https://github.com/appwrite/appwrite/issues/2788

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more