function Connection::truncate

Overrides Connection::truncate

File

core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php, line 69

Class

Connection
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Connection.

Namespace

Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses

Code

public function truncate($table, array $options = []) {
  return new Truncate($this, $table, $options);
}

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