function Merge::conditionTable

Same name in other branches
  1. 9 core/lib/Drupal/Core/Database/Query/Merge.php \Drupal\Core\Database\Query\Merge::conditionTable()
  2. 8.9.x core/lib/Drupal/Core/Database/Query/Merge.php \Drupal\Core\Database\Query\Merge::conditionTable()
  3. 10 core/lib/Drupal/Core/Database/Query/Merge.php \Drupal\Core\Database\Query\Merge::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 Select query object to pass in a subquery.

Return value

$this The called object.

File

core/lib/Drupal/Core/Database/Query/Merge.php, line 152

Class

Merge
General class for an abstracted MERGE query operation.

Namespace

Drupal\Core\Database\Query

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.