public function DeleteQuery::condition in Drupal 7
Implements QueryConditionInterface::condition().
Overrides QueryConditionInterface::condition
File
- 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;
}