Level 50
I think you're maybe looking for transactions?
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I want to know that does laravel have any builtin way that,
"if i have multiple query between a single function/method ,then if any of those query return an exception , the all query result (data saving in the table) that is being executed successfully before the unsuccessful query, will be removed from database table." ????
I think you're maybe looking for transactions?
Please or to participate in this conversation.