Want to access all of our courses? (30 h 41 min)
You also get:
Already a member? Login here
A question about using try-catch blocks:
What's the best approach, in your opinion? Wrap the DB::beginTransaction() inside try {} or put it outside the try{} block, just like the example?
It's better to have it outside in my opinion, but to be fair - it doesn't matter
Tell us what you like or what we can improve
Feel free to share anything you like or dislike about this page or the platform in general.
Your feedback has been received. We truly appreciate you taking the time to help us improve.
A question about using try-catch blocks:
What's the best approach, in your opinion? Wrap the DB::beginTransaction() inside try {} or put it outside the try{} block, just like the example?
It's better to have it outside in my opinion, but to be fair - it doesn't matter