Search for truncate

  1. Search 7.x for truncate
  2. Search 9.5.x for truncate
  3. Search 8.9.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/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 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/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/Query/Truncate.php General class for an abstracted TRUNCATE operation.

All search results

Title Object type File name Summary
Connection::truncate function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Connection::truncate function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
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
Connection::truncate function core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php
Connection::truncate function core/modules/mysql/src/Driver/Database/mysql/Connection.php
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
StubConnection::truncate function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
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.
Truncate class core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php SQLite implementation of \Drupal\Core\Database\Query\Truncate.
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/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/mysql/src/Driver/Database/mysql/Truncate.php MySQL implementation of \Drupal\Core\Database\Query\Truncate.
Truncate.php file core/modules/pgsql/src/Driver/Database/pgsql/Truncate.php
Truncate.php file core/tests/fixtures/database_drivers/module/core_fake/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/Query/Truncate.php
Truncate.php file core/modules/mysql/src/Driver/Database/mysql/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::$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/modules/pgsql/src/Driver/Database/pgsql/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/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::__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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.