You are here

protected function Merge::conditionTable in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

\Drupal\Core\Database\Query\Merge The called object.

File

core/lib/Drupal/Core/Database/Query/Merge.php, line 157
Contains \Drupal\Core\Database\Query\Merge.

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