public function TruncateQuery::compile in Drupal 7
Implements QueryConditionInterface::compile().
File
- includes/
database/ query.inc, line 915 - Non-specific Database query code. Used by all engines.
Class
- TruncateQuery
- General class for an abstracted TRUNCATE operation.
Code
public function compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder) {
return $this->condition
->compile($connection, $queryPlaceholder);
}