| Versionen | |
|---|---|
| drupal6 – drupal7 | db_create_table(&$ret, $name, $table) |
Create a new table from a Drupal table definition.
$ret Array to which query results will be added.
$name The name of the table to create.
$table A Schema API table definition array.
includes/
<?php
function db_create_table(&$ret, $name, $table) {
$statements = db_create_table_sql($name, $table);
foreach ($statements as $statement) {
$ret[] = update_sql($statement);
}
}
?>
Kommentare
Kommentar hinzufügen