Connection::truncate |
function |
core/modules/sqlite/src/Driver/Database/sqlite/Connection.php |
Prepares and returns a TRUNCATE query object. |
Connection::truncate |
function |
core/lib/Drupal/Core/Database/Connection.php |
Prepares and returns a TRUNCATE query object. |
Connection::truncate |
function |
core/tests/fixtures/database_drivers/custom/fake/Connection.php |
Prepares and returns a TRUNCATE query object. |
Connection::truncate |
function |
core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php |
Prepares and returns a TRUNCATE query object. |
Connection::truncate |
function |
core/modules/pgsql/src/Driver/Database/pgsql/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. |
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(). |
Truncate |
class |
core/tests/fixtures/database_drivers/module/core_fake/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/mysql/src/Driver/Database/mysql/Truncate.php |
MySQL 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.php |
file |
core/modules/sqlite/src/Driver/Database/sqlite/Truncate.php |
|
Truncate.php |
file |
core/modules/mysql/src/Driver/Database/mysql/Truncate.php |
|
Truncate.php |
file |
core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Truncate.php |
|
Truncate.php |
file |
core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php |
|
Truncate.php |
file |
core/lib/Drupal/Core/Database/Query/Truncate.php |
|
Truncate::$table |
property |
core/lib/Drupal/Core/Database/Query/Truncate.php |
The table to truncate. |
Truncate::execute |
function |
core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php |
Executes the TRUNCATE query. |
Truncate::execute |
function |
core/lib/Drupal/Core/Database/Query/Truncate.php |
Executes the TRUNCATE query. |
Truncate::__construct |
function |
core/lib/Drupal/Core/Database/Query/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. |
TruncateDeprecateTest |
class |
core/modules/views_ui/tests/src/Kernel/TruncateDeprecateTest.php |
Tests the deprecation of views_ui_truncate() function. |
TruncateDeprecateTest.php |
file |
core/modules/views_ui/tests/src/Kernel/TruncateDeprecateTest.php |
|
TruncateDeprecateTest::$modules |
property |
core/modules/views_ui/tests/src/Kernel/TruncateDeprecateTest.php |
Modules to enable. |
TruncateDeprecateTest::testDeprecateViewsUiTruncate |
function |
core/modules/views_ui/tests/src/Kernel/TruncateDeprecateTest.php |
Tests the deprecation of views_ui_truncate() replaced by Unicode::truncate. |
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. |
UnicodeTest::providerTestTruncateBytes |
function |
core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php |
Provides data for self::testTruncateBytes(). |
UnicodeTest::providerTruncate |
function |
core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php |
Data provider for testTruncate(). |
UnicodeTest::testTruncate |
function |
core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php |
Tests multibyte truncate. |
UnicodeTest::testTruncateBytes |
function |
core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php |
Tests multibyte truncate bytes. |