class Truncate
Same name in this branch
- 10 core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php \Drupal\sqlite\Driver\Database\sqlite\Truncate
- 10 core/modules/mysql/src/Driver/Database/mysql/Truncate.php \Drupal\mysql\Driver\Database\mysql\Truncate
- 10 core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php \Drupal\pgsql\Driver\Database\pgsql\Truncate
- 10 core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Truncate.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Truncate
- 10 core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php \Drupal\Core\Database\Driver\sqlite\Truncate
- 10 core/lib/Drupal/Core/Database/Query/Truncate.php \Drupal\Core\Database\Query\Truncate
Same name in other branches
- 9 core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php \Drupal\sqlite\Driver\Database\sqlite\Truncate
- 9 core/modules/mysql/src/Driver/Database/mysql/Truncate.php \Drupal\mysql\Driver\Database\mysql\Truncate
- 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Truncate.php \Drupal\driver_test\Driver\Database\DrivertestMysql\Truncate
- 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Truncate.php \Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion\Truncate
- 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Truncate.php \Drupal\driver_test\Driver\Database\DrivertestPgsql\Truncate
- 9 core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php \Drupal\pgsql\Driver\Database\pgsql\Truncate
- 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Truncate.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Truncate
- 9 core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php \Drupal\Core\Database\Driver\sqlite\Truncate
- 9 core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php \Drupal\Core\Database\Driver\pgsql\Truncate
- 9 core/lib/Drupal/Core/Database/Query/Truncate.php \Drupal\Core\Database\Query\Truncate
- 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Truncate.php \Drupal\driver_test\Driver\Database\DrivertestMysql\Truncate
- 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Truncate.php \Drupal\driver_test\Driver\Database\DrivertestPgsql\Truncate
- 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php \Drupal\Core\Database\Driver\sqlite\Truncate
- 8.9.x core/lib/Drupal/Core/Database/Driver/mysql/Truncate.php \Drupal\Core\Database\Driver\mysql\Truncate
- 8.9.x core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php \Drupal\Core\Database\Driver\pgsql\Truncate
- 8.9.x core/lib/Drupal/Core/Database/Query/Truncate.php \Drupal\Core\Database\Query\Truncate
- 11.x core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php \Drupal\sqlite\Driver\Database\sqlite\Truncate
- 11.x core/modules/mysql/src/Driver/Database/mysql/Truncate.php \Drupal\mysql\Driver\Database\mysql\Truncate
- 11.x core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php \Drupal\pgsql\Driver\Database\pgsql\Truncate
- 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Truncate.php \Drupal\core_fake\Driver\Database\CoreFakeWithAllCustomClasses\Truncate
- 11.x core/lib/Drupal/Core/Database/Query/Truncate.php \Drupal\Core\Database\Query\Truncate
PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate.
Hierarchy
- class \Drupal\Core\Database\Query\Query implements \Drupal\Core\Database\Query\PlaceholderInterface
Expanded class hierarchy of Truncate
Deprecated
in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module.
See also
https://www.drupal.org/node/3129492
1 file declares its use of Truncate
- PgsqlDriverLegacyTest.php in core/
modules/ pgsql/ tests/ src/ Kernel/ pgsql/ PgsqlDriverLegacyTest.php
4 string references to 'Truncate'
- Connection::getDriverClass in core/
lib/ Drupal/ Core/ Database/ Connection.php - Gets the driver-specific override class if any for the specified class.
- Connection::truncate in core/
lib/ Drupal/ Core/ Database/ Connection.php - Prepares and returns a TRUNCATE query object.
- ConnectionTest::providerGetDriverClass in core/
tests/ Drupal/ Tests/ Core/ Database/ ConnectionTest.php - Data provider for testGetDriverClass().
- SearchTextProcessor::analyze in core/
modules/ search/ src/ SearchTextProcessor.php
File
-
core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Truncate.php, line 17
Namespace
Drupal\Core\Database\Driver\pgsqlView source
class Truncate extends PgsqlTruncate {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.