function DatabaseConnection::merge

Prepares and returns a MERGE query object.

Parameters

$options: An array of options on the query.

Return value

MergeQuery A new MergeQuery object.

See also

MergeQuery

File

includes/database/database.inc, line 904

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.