public function MergeQuery::condition

7.x query.inc public MergeQuery::condition($field, $value = NULL, $operator = NULL)

Implements QueryConditionInterface::condition().

Overrides QueryConditionInterface::condition

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

File

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