php - List all tables in cakePHP 3.x -


i have been trying work 1 out. in cakephp 2 use:

$tables = connectionmanager::getdatasource('default')->listsources(); 

but in cakephp 3.x can't work out use? have looked @ link cakephp schema list of tables

unfortunately doesnt cakephp 3.0?

we can list of table in cakephp3 using similar pattern

$tables = connectionmanager::get('default')->schemacollection()->listtables(); 

Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -