1 schema.inc public DatabaseSchema_mysql::findTables($table_expression)

Find all tables that are like the specified base table name.

Parameters

$table_expression: An SQL expression, for example "simpletest%" (without the quotes). BEWARE: this is not prefixed, the caller should take care of that.

Return value

Array, both the keys and the values are the matching tables.:

Overrides DatabaseSchema::findTables

File

core/includes/database/mysql/schema.inc, line 523
Database schema code for MySQL database servers.

Class

DatabaseSchema_mysql

Code

public function findTables($table_expression) {
  // Back-ticks need to be removed when selecting from the information_schema
  // table. These may be added if using DatabaseConnection::prefixTables() on
  // a table name.
  $table_expression = str_replace('`', '', $table_expression);
  return parent::findTables($table_expression);
}