function MergeQuery::condition

Implements QueryConditionInterface::condition().

Overrides QueryConditionInterface::condition

1 call to MergeQuery::condition()
MergeQuery::key in includes/database/query.inc
Sets the key field(s) to be used as conditions for this query.

File

includes/database/query.inc, line 1545

Class

MergeQuery
General class for an abstracted MERGE query 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.