Answers for "display data from 2 database in laravel 6"

PHP
4

TRANSACTON LARAVEL QUERY BUILDER

DB::beginTransaction();

try {
    DB::insert(...);    
    DB::commit();
} catch (\Throwable $e) {
    DB::rollback();
    throw $e;
}
Posted by: Guest on September-22-2020

Code answers related to "display data from 2 database in laravel 6"

Browse Popular Code Answers by Language