| Versionen | |
|---|---|
| drupal7 | db_find_tables($table_expression) |
Find all tables that are like the specified base table name.
$table_expression An SQL expression, for example "simpletest%" (without the quotes). BEWARE: this is not prefixed, the caller should take care of that.
Array, both the keys and the values are the matching tables.
includes/
<?php
function db_find_tables($table_expression) {
return Database::getConnection()->schema()->findTables($table_expression);
}
?>
Kommentare
Kommentar hinzufügen