Zaheer
5 months ago

DB::transactions failed or succeeded ?

Posted 5 months ago by Zaheer

How do I know if a transaction failed or succeeded. If it failed what was the error ? While searching I found that it can be done "listening to connection.rollingback". How can I listen to this event ? Help with some sample code or useful links will be highly appreciated.

Please sign in or create an account to participate in this conversation.