Executes the TRUNCATE query.
Return value
Return value is dependent on the database type.
Overrides Query::execute
File
- drupal/core/lib/Drupal/Core/Database/Query/Truncate.php, line 62
- Definition of Drupal\Core\Database\Query\Truncate
Class
- Truncate
- General class for an abstracted TRUNCATE operation.
Namespace
Drupal\Core\Database\Query
Code
public function execute() {
return $this->connection
->query((string) $this, array(), $this->queryOptions);
}