Truncate::execute

public Truncate::execute()

Executes the TRUNCATE query.

Return value

Return value is dependent on the database type.

Overrides Query::execute

File

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

Class

Truncate
General class for an abstracted TRUNCATE operation.

Namespace

Drupal\Core\Database\Query

Code

public function execute() {
  return $this->connection->query((string) $this, array(), $this->queryOptions);
}
doc_Drupal
2016-10-29 09:49:33
Comments
Leave a Comment

Please login to continue.