You are here

public function MergeQuery::condition in Drupal 7

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 1523
Non-specific Database query code. Used by all engines.

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