W3cubDocs

/Drupal 8

protected function Merge::conditionTable

protected Merge::conditionTable($table)

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Database!Query!Merge.php/function/Merge::conditionTable/8.1.x