You are here

public function DeleteQuery::exists in Drupal 7

Implements QueryConditionInterface::exists().

Overrides QueryConditionInterface::exists

File

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

Class

DeleteQuery
General class for an abstracted DELETE operation.

Code

public function exists(SelectQueryInterface $select) {
  $this->condition
    ->exists($select);
  return $this;
}