public function Truncate::execute in Drupal driver for SQL Server and SQL Azure 8
Same name and namespace in other branches
- 8.2 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 17 - Definition of Drupal\Driver\Database\sqlsrv\Truncate
Class
Namespace
Drupal\Driver\Database\sqlsrvCode
public function execute() {
return $this->connection
->query((string) $this, array(), $this->queryOptions);
}