lundi 31 août 2020

How to check table names in different databases in laravel

I have two databases . one for project and one for telescope. I want to check the tables name in each database how i can to this?

if i have one database i can do this

$tables = DB::connection()->getDoctrineSchemaManager()->listTableNames()

but Dont know what to do for multiple databases



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/32H7nmj
via IFTTT

Aucun commentaire:

Enregistrer un commentaire