my database insert query is as follows
DB::table('job_details')
->insert([
'job_id' => $jobId,
'item_id' => $itemId,
'type_id' => $typeId,
'qty' => $qnty,
'laminating' => $laminating,
'mat_id' => $matId,
'rates' => $rates,
'sqft' => $sqft,
'ups' => $ups,
'master_qty' => $masterQnty
]);
and I want to get the status if the query was successful or failed. I don't want to check again to see if the query was successful
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2R6IAl6
via IFTTT
Aucun commentaire:
Enregistrer un commentaire