Connection::truncate |
function |
core/lib/Drupal/Core/Database/Connection.php |
Prepares and returns a TRUNCATE query object. |
DeleteTruncateTest |
class |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
Tests delete and truncate queries. |
DeleteTruncateTest.php |
file |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
|
DeleteTruncateTest::testDeleteFromNonExistingTable |
function |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
Deleting from a not existing table throws a DatabaseExceptionWrapper. |
DeleteTruncateTest::testSimpleDelete |
function |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
Confirms that we can delete a single record successfully. |
DeleteTruncateTest::testSpecialColumnDelete |
function |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
Confirms that we can delete a single special column name record successfully. |
DeleteTruncateTest::testSubselectDelete |
function |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
Confirms that we can use a subselect in a delete successfully. |
DeleteTruncateTest::testTruncate |
function |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
Confirms that we can truncate a whole table successfully. |
DeleteTruncateTest::testTruncateInTransaction |
function |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
Confirms that we can truncate a whole table while in transaction. |
DeleteTruncateTest::testTruncateNonExistingTable |
function |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
Truncating a not existing table throws a DatabaseExceptionWrapper. |
DeleteTruncateTest::testTruncateTransactionRollback |
function |
core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php |
Confirms that transaction rollback voids a truncate operation. |
LocalReadOnlyStream::stream_truncate |
function |
core/lib/Drupal/Core/StreamWrapper/LocalReadOnlyStream.php |
Truncate stream. |
LocalStream::stream_truncate |
function |
core/lib/Drupal/Core/StreamWrapper/LocalStream.php |
Truncate stream. |
NumericItemBase::truncateDecimal |
function |
core/lib/Drupal/Core/Field/Plugin/Field/FieldType/NumericItemBase.php |
Helper method to truncate a decimal number to a given number of decimals. |
PgsqlDriverLegacyTest::testDeprecationTruncate |
function |
core/modules/pgsql/tests/src/Kernel/pgsql/PgsqlDriverLegacyTest.php |
@covers Drupal\Core\Database\Driver\pgsql\Truncate |
PhpStreamWrapperInterface::stream_truncate |
function |
core/lib/Drupal/Core/StreamWrapper/PhpStreamWrapperInterface.php |
Truncate stream. |
ReadOnlyStream::stream_truncate |
function |
core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php |
Truncate stream. |
SearchTextProcessor::truncate |
function |
core/modules/search/src/SearchTextProcessor.php |
Helper function for array_walk in ::analyze(). |
SqliteDriverLegacyTest::testDeprecationTruncate |
function |
core/modules/sqlite/tests/src/Kernel/sqlite/SqliteDriverLegacyTest.php |
@covers Drupal\Core\Database\Driver\sqlite\Truncate |
Truncate |
class |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Truncate.php |
MySQL test implementation of \Drupal\Core\Database\Query\Truncate. |
Truncate |
class |
core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php |
SQLite implementation of \Drupal\Core\Database\Query\Truncate. |
Truncate |
class |
core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php |
PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate. |
Truncate |
class |
core/modules/mysql/src/Driver/Database/mysql/Truncate.php |
MySQL implementation of \Drupal\Core\Database\Query\Truncate. |
Truncate |
class |
core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Truncate.php |
CorefakeWithAllCustomClasses implementation of \Drupal\Core\Database\Truncate. |
Truncate |
class |
core/lib/Drupal/Core/Database/Query/Truncate.php |
General class for an abstracted TRUNCATE operation. |
Truncate |
class |
core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php |
SQLite implementation of \Drupal\Core\Database\Query\Truncate. |
Truncate |
class |
core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php |
PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate. |
Truncate |
class |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Truncate.php |
MySQL test implementation of \Drupal\Core\Database\Query\Truncate. |
Truncate |
class |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Truncate.php |
PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate. |
Truncate.php |
file |
core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Truncate.php |
|
Truncate.php |
file |
core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php |
|
Truncate.php |
file |
core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php |
|
Truncate.php |
file |
core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php |
|
Truncate.php |
file |
core/lib/Drupal/Core/Database/Query/Truncate.php |
|
Truncate.php |
file |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Truncate.php |
|
Truncate.php |
file |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Truncate.php |
|
Truncate.php |
file |
core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php |
|
Truncate.php |
file |
core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Truncate.php |
|
Truncate.php |
file |
core/modules/mysql/src/Driver/Database/mysql/Truncate.php |
|
Truncate::$table |
property |
core/lib/Drupal/Core/Database/Query/Truncate.php |
The table to truncate. |
Truncate::execute |
function |
core/lib/Drupal/Core/Database/Query/Truncate.php |
Executes the TRUNCATE query. |
Truncate::execute |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php |
Executes the TRUNCATE query. |
Truncate::__construct |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php |
Constructs a Truncate query object. |
Truncate::__construct |
function |
core/modules/mysql/src/Driver/Database/mysql/Truncate.php |
Constructs a Truncate query object. |
Truncate::__construct |
function |
core/lib/Drupal/Core/Database/Query/Truncate.php |
Constructs a Truncate query object. |
Truncate::__construct |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php |
Constructs a Truncate query object. |
Truncate::__toString |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php |
Implements PHP magic __toString method to convert the query to a string. |
Truncate::__toString |
function |
core/lib/Drupal/Core/Database/Query/Truncate.php |
Implements PHP magic __toString method to convert the query to a string. |
Unicode::truncate |
function |
core/lib/Drupal/Component/Utility/Unicode.php |
Truncates a UTF-8-encoded string safely to a number of characters. |
Unicode::truncateBytes |
function |
core/lib/Drupal/Component/Utility/Unicode.php |
Truncates a UTF-8-encoded string safely to a number of bytes. |