function UpdateQuery::condition

Implements QueryConditionInterface::condition().

Overrides QueryConditionInterface::condition

File

includes/database/query.inc, line 1037

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.