You are here

public function DeleteQuery::compile in Drupal 7

Implements QueryConditionInterface::compile().

Overrides QueryConditionInterface::compile

File

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

Class

DeleteQuery
General class for an abstracted DELETE operation.

Code

public function compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder) {
  return $this->condition
    ->compile($connection, $queryPlaceholder);
}