public function MergeQuery::condition

Implements QueryConditionInterface::condition().

Overrides QueryConditionInterface::condition

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

File

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