Search for truncate
- Search 7.x for truncate
- Search 9.5.x for truncate
- Search 8.9.x for truncate
- Search 10.3.x for truncate
- Search main for truncate
- Other projects
Exact matches
| Title | Object type | File name | Summary |
|---|---|---|---|
| Truncate | class | core/ |
SQLite implementation of \Drupal\Core\Database\Query\Truncate. |
| Truncate | class | core/ |
MySQL implementation of \Drupal\Core\Database\Query\Truncate. |
| Truncate | class | core/ |
PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate. |
| Truncate | class | core/ |
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Truncate. |
| Truncate | class | core/ |
General class for an abstracted TRUNCATE operation. |
All search results
| Title | Object type | File name | Summary |
|---|---|---|---|
| Connection::truncate | function | core/ |
Prepares and returns a TRUNCATE query object. |
| Connection::truncate | function | core/ |
Prepares and returns a TRUNCATE query object. |
| Connection::truncate | function | core/ |
Prepares and returns a TRUNCATE query object. |
| Connection::truncate | function | core/ |
Prepares and returns a TRUNCATE query object. |
| Connection::truncate | function | core/ |
Prepares and returns a TRUNCATE query object. |
| DeleteTruncateTest | class | core/ |
Tests delete and truncate queries. |
| DeleteTruncateTest.php | file | core/ |
|
| DeleteTruncateTest::testDeleteFromNonExistingTable | function | core/ |
Deleting from a not existing table throws a DatabaseExceptionWrapper. |
| DeleteTruncateTest::testSimpleDelete | function | core/ |
Confirms that we can delete a single record successfully. |
| DeleteTruncateTest::testSpecialColumnDelete | function | core/ |
Confirms that we can delete a single special column name record successfully. |
| DeleteTruncateTest::testSubselectDelete | function | core/ |
Confirms that we can use a subselect in a delete successfully. |
| DeleteTruncateTest::testTruncate | function | core/ |
Confirms that we can truncate a whole table successfully. |
| DeleteTruncateTest::testTruncateInTransaction | function | core/ |
Confirms that we can truncate a whole table while in transaction. |
| DeleteTruncateTest::testTruncateNonExistingTable | function | core/ |
Truncating a not existing table throws a DatabaseExceptionWrapper. |
| DeleteTruncateTest::testTruncateTransactionRollback | function | core/ |
Confirms that transaction rollback voids a truncate operation. |
| LocalReadOnlyStream::stream_truncate | function | core/ |
Truncate stream. |
| LocalStream::stream_truncate | function | core/ |
Truncate stream. |
| NumericItemBase::truncateDecimal | function | core/ |
Helper method to truncate a decimal number to a given number of decimals. |
| PhpStreamWrapperInterface::stream_truncate | function | core/ |
Truncate stream. |
| ReadOnlyStream::stream_truncate | function | core/ |
Truncate stream. |
| SearchTextProcessor::truncate | function | core/ |
Helper function for array_walk in ::analyze(). |
| Truncate | class | core/ |
PostgreSQL implementation of \Drupal\Core\Database\Query\Truncate. |
| Truncate | class | core/ |
SQLite implementation of \Drupal\Core\Database\Query\Truncate. |
| Truncate | class | core/ |
General class for an abstracted TRUNCATE operation. |
| Truncate | class | core/ |
CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Truncate. |
| Truncate | class | core/ |
MySQL implementation of \Drupal\Core\Database\Query\Truncate. |
| Truncate.php | file | core/ |
|
| Truncate.php | file | core/ |
|
| Truncate.php | file | core/ |
|
| Truncate.php | file | core/ |
|
| Truncate.php | file | core/ |
|
| Truncate::$table | property | core/ |
The table to truncate. |
| Truncate::execute | function | core/ |
Executes the TRUNCATE query. |
| Truncate::execute | function | core/ |
Executes the TRUNCATE query. |
| Truncate::__construct | function | core/ |
Constructs a Truncate query object. |
| Truncate::__toString | function | core/ |
On PostgreSQL, TRUNCATE is fully transactional: it can be rolled back and does not cause an implicit commit, so there is no need to fall back to the slower DELETE query when inside a transaction. TRUNCATE is much faster on large tables and, unlike⦠|
| Truncate::__toString | function | core/ |
Implements PHP magic __toString method to convert the query to a string. |
| Truncate::__toString | function | core/ |
Implements PHP magic __toString method to convert the query to a string. |
| TruncateTest | class | core/ |
Tests the PostgreSQL implementation of truncate queries. |
| TruncateTest.php | file | core/ |
|
| TruncateTest::testTruncateSqlStatement | function | core/ |
Tests that the SQL is a TRUNCATE statement, also inside a transaction. |
| Unicode::truncate | function | core/ |
Truncates a UTF-8-encoded string safely to a number of characters. |
| Unicode::truncateBytes | function | core/ |
Truncates a UTF-8-encoded string safely to a number of bytes. |
| UnicodeTest::providerTestTruncateBytes | function | core/ |
Provides data for self::testTruncateBytes(). |
| UnicodeTest::providerTruncate | function | core/ |
Data provider for testTruncate(). |
| UnicodeTest::testTruncate | function | core/ |
Tests multibyte truncate. |
| UnicodeTest::testTruncateBytes | function | core/ |
Tests multibyte truncate bytes. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.