You are here

function _demo_enum_tables in Demonstration site (Sandbox / Snapshot) 7

Same name and namespace in other branches
  1. 8 demo.module \_demo_enum_tables()
  2. 6 database_mysql_dump.inc \_demo_enum_tables()

Enumerate database tables.

1 call to _demo_enum_tables()
demo_enum_tables in ./demo.admin.inc
Returns a list of tables in the active database.

File

./database_mysql_dump.inc, line 103

Code

function _demo_enum_tables() {
  return db_query('SHOW TABLES')
    ->fetchCol();
}