Saving All Or Nothing with Database Transactions

In this lesson, we'll learn about database transactions and how we can use them to batch commit or rollback updates, safeguarding against partial updates due to errors.

May 29
5m 15s

Developer, dog lover, and burrito eater. Currently teaching AdonisJS, a fully featured NodeJS framework, and running Adocasts where I post new lessons weekly. Professionally, I work with JavaScript, .Net C#, and SQL Server.


Burlington, KY

🕰️ Chapters
00:00 - Demoing Why You'd Use A Transaction
00:51 - What Is A Database Transaction?
01:08 - Creating A Database Transaction
02:00 - Binding Our Transaction To Our Database Operations
03:14 - Demoing A Transaction In Action
04:22 - Displaying An Error On Transaction Rollback

Join The Discussion! (0 Comments)

Please sign in or sign up for free to join in on the dicussion.

robot comment bubble

Be the first to Comment!