public function Update::compile

Implements Drupal\Core\Database\Query\ConditionInterface::compile().

Overrides ConditionInterface::compile

File

drupal/core/lib/Drupal/Core/Database/Query/Update.php, line 146
Definition of Drupal\Core\Database\Query\Update

Class

Update
General class for an abstracted UPDATE operation.

Namespace

Drupal\Core\Database\Query

Code

public function compile(Connection $connection, PlaceholderInterface $queryPlaceholder) {
  return $this->condition
    ->compile($connection, $queryPlaceholder);
}