Answers for "list of all tables in laravel"

CSS
1

get all tables laravel

$tables = DB::select('SHOW TABLES');
foreach($tables as $table)
{
      echo $table->Tables_in_db_name;
}
Posted by: Guest on June-28-2021
-1

laravel list of tables

DB::select('SHOW TABLES')
Posted by: Guest on October-29-2020

Code answers related to "list of all tables in laravel"

Browse Popular Code Answers by Language