function Truncate::compile

File

core/lib/Drupal/Core/Database/Query/Truncate.php, line 39

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.