| Versionen | |
|---|---|
| drupal7 | public DatabaseConnection::merge($table, array $options = array()) |
Prepare and return a MERGE query object with the specified ID.
$options An array of options on the query.
A new MergeQuery object.
includes/
<?php
public function merge($table, array $options = array()) {
if (empty($this->mergeClass)) {
$this->mergeClass = 'MergeQuery_' . $this->driver();
if (!class_exists($this->mergeClass)) {
$this->mergeClass = 'MergeQuery';
}
}
$class = $this->mergeClass;
return new $class($this, $table, $options);
}
?>
Kommentare
Kommentar hinzufügen