You are here

public function Connection::truncate in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Core/Database/Connection.php \Drupal\Core\Database\Connection::truncate()

File

lib/Drupal/Core/Database/Connection.php, line 107
Contains \Drupal\Core\Database\Connection.

Class

Connection

Namespace

Drupal\Core\Database

Code

public function truncate($table, array $options = array()) {
  return $this->connection
    ->truncate($table, $options);
}