public function Update::where

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

Overrides ConditionInterface::where

File

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

Class

Update
General class for an abstracted UPDATE operation.

Namespace

Drupal\Core\Database\Query

Code

public function where($snippet, $args = array()) {
  $this->condition
    ->where($snippet, $args);
  return $this;
}