Skip to content

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.

Where the book teaches it

Related terms

Drizzle ORMSQLite