Glossary: Next.js Beyond the Basics
Transaction
Also written: db.transaction
Several database changes that succeed or fail together. Placing an order adds items and lowers stock, and if one step throws, everything is undone.
Glossary: Next.js Beyond the Basics
Also written: db.transaction
Several database changes that succeed or fail together. Placing an order adds items and lowers stock, and if one step throws, everything is undone.