namespace Drupal\KernelTests\Core\Database

Same name in other branches
  1. 8.9.x Drupal\KernelTests\Core\Database
  2. 10 Drupal\KernelTests\Core\Database
  3. 11.x Drupal\KernelTests\Core\Database
Object name File name Summary
AlterTest core/tests/Drupal/KernelTests/Core/Database/AlterTest.php Tests the hook_query_alter capabilities of the Select builder.
BasicSyntaxTest core/tests/Drupal/KernelTests/Core/Database/BasicSyntaxTest.php Tests SQL syntax interpretation.
CaseSensitivityTest core/tests/Drupal/KernelTests/Core/Database/CaseSensitivityTest.php Tests handling case sensitive collation.
ConnectionTest core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests of the core database system.
DatabaseExceptionWrapperTest core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests exceptions thrown by queries.
DatabaseTestBase core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php Base class for databases database tests.
DatabaseTestSchemaDataTrait core/tests/Drupal/KernelTests/Core/Database/DatabaseTestSchemaDataTrait.php Trait to manage data samples for test tables.
DatabaseTestSchemaInstallTrait core/tests/Drupal/KernelTests/Core/Database/DatabaseTestSchemaInstallTrait.php Trait to manage installation for test tables.
DeleteTruncateTest core/tests/Drupal/KernelTests/Core/Database/DeleteTruncateTest.php Tests delete and truncate queries.
DriverSpecificConnectionUnitTestBase core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php Tests management of database connections.
DriverSpecificDatabaseTestBase core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php Base class for driver specific database tests.
DriverSpecificKernelTestBase core/tests/Drupal/KernelTests/Core/Database/DriverSpecificKernelTestBase.php Base class for driver specific kernel tests.
DriverSpecificSchemaTestBase core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php Tests table creation and modification via the schema API.
FetchTest core/tests/Drupal/KernelTests/Core/Database/FetchTest.php Tests the Database system's various fetch capabilities.
InsertDefaultsTest core/tests/Drupal/KernelTests/Core/Database/InsertDefaultsTest.php Tests the Insert query builder with default values.
InsertLobTest core/tests/Drupal/KernelTests/Core/Database/InsertLobTest.php Tests the Insert query builder with LOB fields.
InsertTest core/tests/Drupal/KernelTests/Core/Database/InsertTest.php Tests the insert builder.
InvalidDataTest core/tests/Drupal/KernelTests/Core/Database/InvalidDataTest.php Tests handling of some invalid data.
LoggingTest core/tests/Drupal/KernelTests/Core/Database/LoggingTest.php Tests the query logging facility.
MergeTest core/tests/Drupal/KernelTests/Core/Database/MergeTest.php Tests the MERGE query builder.
NextIdTest core/tests/Drupal/KernelTests/Core/Database/NextIdTest.php Tests the sequences API.
QueryTest core/tests/Drupal/KernelTests/Core/Database/QueryTest.php Tests Drupal's extended prepared statement syntax..
RangeQueryTest core/tests/Drupal/KernelTests/Core/Database/RangeQueryTest.php Tests the Range query functionality.
RegressionTest core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php Regression tests cases for the database layer.
ReplicaKillSwitchTest core/tests/Drupal/KernelTests/Core/Database/ReplicaKillSwitchTest.php Tests that ReplicaKillSwitch functions correctly.
ReservedWordTest core/tests/Drupal/KernelTests/Core/Database/ReservedWordTest.php Tests queries that include reserved words.
SchemaTest core/tests/Drupal/KernelTests/Core/Database/SchemaTest.php Tests table creation and modification via the schema API.
SelectCloneTest core/tests/Drupal/KernelTests/Core/Database/SelectCloneTest.php Tests cloning Select queries.
SelectComplexTest core/tests/Drupal/KernelTests/Core/Database/SelectComplexTest.php Tests the Select query builder with more complex queries.
SelectExtenderTest core/tests/Drupal/KernelTests/Core/Database/SelectExtenderTest.php Tests the Select query extender classes.
SelectLeastTest core/tests/Drupal/KernelTests/Core/Database/SelectLeastTest.php Tests the SQL LEAST operator.
SelectOrderedTest core/tests/Drupal/KernelTests/Core/Database/SelectOrderedTest.php Tests the Select query builder.
SelectSubqueryTest core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests the Select query builder.
SelectTest core/tests/Drupal/KernelTests/Core/Database/SelectTest.php Tests the Select query builder.
SerializeQueryTest core/tests/Drupal/KernelTests/Core/Database/SerializeQueryTest.php Tests serializing and unserializing a query.
StatementTest core/tests/Drupal/KernelTests/Core/Database/StatementTest.php Tests the Statement classes.
StatementWrapperLegacyTest core/tests/Drupal/KernelTests/Core/Database/StatementWrapperLegacyTest.php Tests the deprecations of the StatementWrapper class.
TaggingTest core/tests/Drupal/KernelTests/Core/Database/TaggingTest.php Tests the tagging capabilities of the Select builder.
TransactionTest core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php Tests the transaction abstraction system.
UpdateComplexTest core/tests/Drupal/KernelTests/Core/Database/UpdateComplexTest.php Tests the Update query builder, complex queries.
UpdateLobTest core/tests/Drupal/KernelTests/Core/Database/UpdateLobTest.php Tests the Update query builder with LOB fields.
UpdateTest core/tests/Drupal/KernelTests/Core/Database/UpdateTest.php Tests the update query builder.
UpsertTest core/tests/Drupal/KernelTests/Core/Database/UpsertTest.php Tests the Upsert query builder.

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