Back to Developer Roadmap

Transactional Operations

src/data/roadmaps/cloudflare/content/[email protected]

4.0746 B
Original Source

Transactional Operations

Durable Objects support transactional operations. You can perform multiple operations within a single transaction, ensuring that either all operations succeed or none of them do. This helps maintain data consistency and prevents partial updates. If an error occurs during a transaction, the Durable Object automatically rolls back all changes, leaving the data in a consistent state.

Visit the following resources to learn more: