Answers for "how to get database name from model"

PHP
0

get database name laravel

DB::getDatabaseName();
Posted by: Guest on December-01-2020
1

db name laravel

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

Code answers related to "how to get database name from model"

Browse Popular Code Answers by Language