Answer the question
In order to leave comments, you need to log in
Checking that a database request was successful Laravel 8?
Good morning, gentlemen. If someone here works on Laravel, then this is a question for you.
How do you check that the query to the database (select, insert...) was successfully completed?
try catch, checking for true, or maybe some other options?
Answer the question
In order to leave comments, you need to log in
If there are no errors on the site or in the logs, then there are no errors in 99.9% of cases. Try/Catch only gives access to the error trapping.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question