public function DeleteQuery::condition

Implements QueryConditionInterface::condition().

Overrides QueryConditionInterface::condition

File

drupal/includes/database/query.inc, line 772
Non-specific Database query code. Used by all engines.

Class

DeleteQuery
General class for an abstracted DELETE operation.

Code

public function condition($field, $value = NULL, $operator = NULL) {
  $this->condition
    ->condition($field, $value, $operator);
  return $this;
}