You are here

protected function Merge::conditionTable in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Database/Query/Merge.php \Drupal\Core\Database\Query\Merge::conditionTable()
  2. 9 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 156

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