function TruncateQuery::compile
Implements QueryConditionInterface::compile().
File
-
includes/
database/ query.inc, line 921
Class
- TruncateQuery
- General class for an abstracted TRUNCATE operation.
Code
public function compile(DatabaseConnection $connection, QueryPlaceholderInterface $queryPlaceholder) {
return $this->condition
->compile($connection, $queryPlaceholder);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.