You are here

public function DatabaseSchemaInterface::findTables in Schema 8

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.

File

src/DatabaseSchemaInterface.php, line 35
Contains Drupal\schema\DatabaseSchemaInterface.

Class

DatabaseSchemaInterface
This interface describes public methods of \Drupal\Core\Database\Schema.

Namespace

Drupal\schema

Code

public function findTables($table_expression);