Answers for "laravel model database name"

PHP
1

db::statement in laravel

DB::statement('DROP TABLE users');
DB::statement('ALTER TABLE projects AUTO_INCREMENT=123');
Posted by: Guest on July-27-2020
1

db name laravel

DB::connection()->getDatabaseName() //laravel
Posted by: Guest on October-30-2020

Code answers related to "laravel model database name"

Browse Popular Code Answers by Language