public function Truncate::execute in Drupal driver for SQL Server and SQL Azure 8.2
Same name and namespace in other branches
- 8 drivers/lib/Drupal/Driver/Database/sqlsrv/Truncate.php \Drupal\Driver\Database\sqlsrv\Truncate::execute()
- 3.0.x drivers/lib/Drupal/Driver/Database/sqlsrv/Truncate.php \Drupal\Driver\Database\sqlsrv\Truncate::execute()
Executes the TRUNCATE query.
Return value
Return value is dependent on the database type.
Overrides Truncate::execute
File
- drivers/
lib/ Drupal/ Driver/ Database/ sqlsrv/ Truncate.php, line 15 - Definition of Drupal\Driver\Database\sqlsrv\Truncate
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
public function execute() {
return $this->connection
->query((string) $this, [], $this->queryOptions);
}