Laravel Pro Tips
#database #transactions
🌶️ #Laravel Tip: Yesterday we learned the Automatic Laravel Database transactions. Today, we explore the Manual Database Transactions. 🧠 ✅ DB::commit() ✅ DB::rollback() #PHP #Developers
Bilal Haidar
#eloquent #database #transactions
🌶️ #Laravel Tip: You can mix both Database operations and Eloquent operations inside a single Laravel database transaction. Two transaction flavors are offered: Automatic and Manual. Let's check the Automatic one. ⚡️ #PHP #Developers
Sep 21st, 2021
#sql #transactions #data integrity
Using Database Transactions to Write Safer Laravel Code
In web development, data integrity and accuracy is really important. So, making sure that we write code that stores, updates and deletes data in our databases in a safe way is imperative.