public function Delete::condition

Implements Drupal\Core\Database\Query\ConditionInterface::condition().

Overrides ConditionInterface::condition

File

drupal/core/lib/Drupal/Core/Database/Query/Delete.php, line 55
Definition of Drupal\Core\Database\Query\Delete

Class

Delete
General class for an abstracted DELETE operation.

Namespace

Drupal\Core\Database\Query

Code

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