ADOdb Library for PHP Manual
Prev MetaTables Next

MetaTables($ttype=false, $showSchema=false)

Returns an array of tables and views for the current database as an array. The array should exclude system catalog tables if possible. To only show tables, use $db->MetaTables('TABLES'). To show only views, use $db->MetaTables('VIEWS'). The $showSchema parameter currently works only for DB2, and when set to true, will add the schema name to the table, eg. "SCHEMA.TABLE".


Prev Home Next
MetaDatabases Up MetaColumns

Sponsored by phpLens