Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function MergeQuery::conditionTable

Sets the table or subquery to be used for the condition.

Parameters

$table: The table name or the subquery to be used. Use a SelectQuery object to pass in a subquery.

Return value

MergeQuery The called object.

File

includes/database/query.inc, line 1388

Class

MergeQuery
General class for an abstracted MERGE query operation.

Code

protected function conditionTable($table) {
 $this->conditionTable  = $table;
 return $this;
}

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