summaryrefslogtreecommitdiff
path: root/includes/database/database.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/database/database.inc')
-rw-r--r--includes/database/database.inc18
1 files changed, 9 insertions, 9 deletions
diff --git a/includes/database/database.inc b/includes/database/database.inc
index 91c5ea4cb..0f64dfb61 100644
--- a/includes/database/database.inc
+++ b/includes/database/database.inc
@@ -1674,15 +1674,15 @@ function db_column_exists($table, $column) {
return Database::getActiveConnection()->schema()->columnExists($table, $column);
}
- /**
- * Find all tables that are like the specified base table name.
- *
- * @param table_expression
- * An SQL expression, for example simpletest% . BEWARE: this is not
- * prefixed, the caller should take care of that.
- * @return
- * Array, both the keys and the values are the matching tables.
- */
+/**
+ * Find all tables that are like the specified base table name.
+ *
+ * @param $table_expression
+ * An SQL expression, for example "simpletest%" (without the quotes).
+ * BEWARE: this is not prefixed, the caller should take care of that.
+ * @return
+ * Array, both the keys and the values are the matching tables.
+ */
function db_find_tables($table_expression) {
return Database::getActiveConnection()->schema()->findTables($table_expression);
}