| Versionen | |
|---|---|
| drupal6 – drupal7 | db_add_primary_key(&$ret, $table, $fields) |
Add a primary key.
$ret Array to which query results will be added.
$table The table to be altered.
$fields Fields for the primary key.
includes/
<?php
function db_add_primary_key(&$ret, $table, $fields) {
return Database::getConnection()->schema()->addPrimaryKey($ret, $table, $fields);
}
?>
Kommentare
Kommentar hinzufügen