You are here

public function Truncate::compile in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Database/Query/Truncate.php \Drupal\Core\Database\Query\Truncate::compile()

File

core/lib/Drupal/Core/Database/Query/Truncate.php, line 45
Contains \Drupal\Core\Database\Query\Truncate.

Class

Truncate
General class for an abstracted TRUNCATE operation.

Namespace

Drupal\Core\Database\Query

Code

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