vendredi 28 juin 2019

How to exclude table names while importing all existing table names

I am trying to get all table names in db, It is working fine but just want to exclude or ignore migrations, user, password_resets and any other default table names. I know it can be done by filtering array, but it's better if there is any eloquent function for this situation.

        $tables = DB::select('SHOW TABLES');



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire