Search for truncate
- Search 9.5.x for truncate
- Search 8.9.x for truncate
- Search 10.3.x for truncate
- Search 11.x for truncate
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| DatabaseConnection::truncate | function | includes/ |
Prepares and returns a TRUNCATE query object. |
| DatabaseDeleteTruncateTestCase | class | modules/ |
Delete/Truncate tests. |
| DatabaseDeleteTruncateTestCase::getInfo | function | modules/ |
|
| DatabaseDeleteTruncateTestCase::testSimpleDelete | function | modules/ |
Confirm that we can delete a single record successfully. |
| DatabaseDeleteTruncateTestCase::testSubselectDelete | function | modules/ |
Confirm that we can use a subselect in a delete successfully. |
| DatabaseDeleteTruncateTestCase::testTruncate | function | modules/ |
Confirm that we can truncate a whole table successfully. |
| DatabaseReservedKeywordTestCase::testTruncateReservedWordTable | function | modules/ |
|
| db_truncate | function | includes/ |
Returns a new TruncateQuery object for the active database. |
| DrupalLocalStreamWrapper::stream_truncate | function | includes/ |
Truncate stream. |
| drupal_truncate_bytes | function | includes/ |
Truncates a UTF-8-encoded string safely to a number of bytes. |
| PharStreamWrapper::stream_truncate | function | misc/ |
|
| TruncateQuery | class | includes/ |
General class for an abstracted TRUNCATE operation. |
| TruncateQuery::$table | property | includes/ |
The table to truncate. |
| TruncateQuery::compile | function | includes/ |
Implements QueryConditionInterface::compile(). |
| TruncateQuery::compiled | function | includes/ |
Implements QueryConditionInterface::compiled(). |
| TruncateQuery::execute | function | includes/ |
Executes the TRUNCATE query. |
| TruncateQuery::__construct | function | includes/ |
Constructs a TruncateQuery object. |
| TruncateQuery::__toString | function | includes/ |
Implements PHP magic __toString method to convert the query to a string. |
| TruncateQuery_mysql | class | includes/ |
|
| TruncateQuery_sqlite | class | includes/ |
SQLite specific implementation of TruncateQuery. |
| TruncateQuery_sqlite::__toString | function | includes/ |
Implements PHP magic __toString method to convert the query to a string. |
| truncate_utf8 | function | includes/ |
Truncates a UTF-8-encoded string safely to a number of characters. |
| UnicodeUnitTest::helperTestTruncate | function | modules/ |
Tests truncate_utf8(). |
| UnicodeUnitTest::runTruncateTests | function | modules/ |
Runs test cases for helperTestTruncate(). |
| _search_index_truncate | function | modules/ |
Helper function for array_walk in search_index_split. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.