php - Getting list of all tables in the database and the column information -
i'm trying information current configured database in zf2. can queries. eg.:
select * information_schema.tables table_schema = '<databasename>'
.. , on.
what want, use pdo provide me info ( $db->fetchall(\pdo::fetch_column)
). because want work different type of databases ( mysql, sqlite, etc... ).
is there way using zend's dbadapter, or accessible zend 2 framework ? researching how pdo instance , using it, won't happen i`ve seen included in zf2 package.