public function UpdateQuery::where

Implements QueryConditionInterface::where().

Overrides QueryConditionInterface::where

File

drupal/includes/database/query.inc, line 1085
Non-specific Database query code. Used by all engines.

Class

UpdateQuery
General class for an abstracted UPDATE operation.

Code

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