Truncate.php in Drupal 10
Same filename in this branch
- 10 core/lib/Drupal/Core/Database/Query/Truncate.php
- 10 core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php
- 10 core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php
- 10 core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php
- 10 core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php
- 10 core/modules/mysql/src/Driver/Database/mysql/Truncate.php
- 10 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Truncate.php
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Truncate.php
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Truncate.php
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Truncate.php
Same filename and directory in other branches
Namespace
Drupal\Core\Database\Driver\sqliteFile
core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.phpView source
<?php
namespace Drupal\Core\Database\Driver\sqlite;
use Drupal\sqlite\Driver\Database\sqlite\Truncate as SqliteTruncate;
@trigger_error('\\Drupal\\Core\\Database\\Driver\\sqlite\\Truncate is deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. See https://www.drupal.org/node/3129492', E_USER_DEPRECATED);
/**
* SQLite implementation of \Drupal\Core\Database\Query\Truncate.
*
* @deprecated in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite
* database driver has been moved to the sqlite module.
*
* @see https://www.drupal.org/node/3129492
*/
class Truncate extends SqliteTruncate {
}
Classes
Name | Description |
---|---|
Truncate Deprecated | SQLite implementation of \Drupal\Core\Database\Query\Truncate. |