Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

Truncate.php

Same filename in this branch
  1. 11.1.x core/lib/Drupal/Core/Database/Query/Truncate.php
  2. 11.1.x core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php
  3. 11.1.x core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php

Namespace

Drupal\mysql\Driver\Database\mysql

File

core/modules/mysql/src/Driver/Database/mysql/Truncate.php

View source
<?php

namespace Drupal\mysql\Driver\Database\mysql;

use Drupal\Core\Database\Query\Truncate as QueryTruncate;
@trigger_error('Extending from \\Drupal\\mysql\\Driver\\Database\\mysql\\Truncate is deprecated in drupal:11.0.0 and is removed from drupal:12.0.0. Extend from the base class instead. See https://www.drupal.org/node/3256524', E_USER_DEPRECATED);

/**
 * MySQL implementation of \Drupal\Core\Database\Query\Truncate.
 */
class Truncate extends QueryTruncate {

}

Classes

Title Deprecated Summary
Truncate MySQL implementation of \Drupal\Core\Database\Query\Truncate.
RSS feed
Powered by Drupal