function DriverSpecificConnectionUnitTestBase::getQuery
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificConnectionUnitTestBase::getQuery()
- 11.x core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php \Drupal\KernelTests\Core\Database\DriverSpecificConnectionUnitTestBase::getQuery()
Returns a set of queries specific for the database in testing.
2 methods override DriverSpecificConnectionUnitTestBase::getQuery()
- ConnectionUnitTest::getQuery in core/
modules/ mysql/ tests/ src/ Kernel/ mysql/ ConnectionUnitTest.php - Returns a set of queries specific for MySQL.
- ConnectionUnitTest::getQuery in core/
modules/ pgsql/ tests/ src/ Kernel/ pgsql/ ConnectionUnitTest.php - Returns a set of queries specific for PostgreSQL.
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Database/ DriverSpecificConnectionUnitTestBase.php, line 63
Class
- DriverSpecificConnectionUnitTestBase
- Tests management of database connections.
Namespace
Drupal\KernelTests\Core\DatabaseCode
protected abstract function getQuery() : array;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.