public function UpdateQuery::condition

Implements QueryConditionInterface::condition().

Overrides QueryConditionInterface::condition

File

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

Class

UpdateQuery
General class for an abstracted UPDATE operation.

Code

public function condition($field, $value = NULL, $operator = NULL) {
  $this->condition
    ->condition($field, $value, $operator);
  return $this;
}