public function UpdateQuery::condition in Drupal 7
Implements QueryConditionInterface::condition().
Overrides QueryConditionInterface::condition
File
- 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;
}