Search for truncate

  1. Search 7.x for truncate
  2. Search 9.5.x for truncate
  3. Search 10.3.x for truncate
  4. Search 11.x for truncate
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
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/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Truncate.php PostgreSQL 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/mysql/Truncate.php MySQL 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/lib/Drupal/Core/Database/Query/Truncate.php General class for an abstracted TRUNCATE operation.

All search results

Title Object type File name Summary
Connection::truncate function core/lib/Drupal/Core/Database/Connection.php Prepares and returns a TRUNCATE query object.
DatabaseLegacyTest::testDbTruncate function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_truncate() function.
db_truncate function core/includes/database.inc Returns a new TruncateQuery object for the active database.
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::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::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.
Truncate class core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Truncate.php PostgreSQL implementation of \Drupal\Core\Database\Query\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/Query/Truncate.php General class for an abstracted TRUNCATE operation.
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/lib/Drupal/Core/Database/Driver/mysql/Truncate.php MySQL implementation of \Drupal\Core\Database\Query\Truncate.
Truncate.php file core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Truncate.php
Truncate.php file core/lib/Drupal/Core/Database/Query/Truncate.php
Truncate.php file core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php
Truncate.php file core/lib/Drupal/Core/Database/Driver/mysql/Truncate.php
Truncate.php file core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php
Truncate.php file core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Truncate.php
Truncate::$table property core/lib/Drupal/Core/Database/Query/Truncate.php The table to truncate.
Truncate::compile function core/lib/Drupal/Core/Database/Query/Truncate.php
Truncate::compiled function core/lib/Drupal/Core/Database/Query/Truncate.php
Truncate::execute function core/lib/Drupal/Core/Database/Driver/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/lib/Drupal/Core/Database/Driver/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.
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.
views_ui_truncate function core/modules/views_ui/views_ui.module Truncate strings to a set length and provide a '...' if they truncated.
_search_index_truncate function core/modules/search/search.module 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.