1 database.inc public DatabaseConnection::merge($table, array $options = array())

Prepares and returns a MERGE query object.

Parameters

string $table: The table into which data will be merged.

array $options: An array of options on the query.

Return value

MergeQuery: A new MergeQuery object.

See also

MergeQuery

File

core/includes/database/database.inc, line 911
Core systems for the database layer.

Class

DatabaseConnection
Base Database API class.

Code

public function merge($table, array $options = array()) {
  $class = $this->getDriverClass('MergeQuery', array('query.inc'));
  return new $class($this, $table, $options);
}