- BackdropUnitTestCase::setUp in core/
modules/ simpletest/ backdrop_web_test_case.php - Sets up unit test environment.
- BackdropWebTestCase::changeDatabasePrefix in core/
modules/ simpletest/ backdrop_web_test_case.php - Changes the database connection to the prefixed one.
- BackupDatabase::getDatabaseConnection in core/
includes/ backup/ backup.database.inc - Get the db connection for the specified db.
- ConnectionUnitTest::addConnection in core/
modules/ simpletest/ tests/ database_test.test - Adds a new database connection info to Database.
- ConnectionUnitTest::setUp in core/
modules/ simpletest/ tests/ database_test.test - Sets up unit test environment.
- DatabaseConnectionTestCase::testConnectionOptions in core/
modules/ simpletest/ tests/ database_test.test - Tests the connection options of the active database.
- DatabaseConnectionTestCase::testConnectionRouting in core/
modules/ simpletest/ tests/ database_test.test - Test that connections return appropriate connection objects.
- DatabaseConnectionTestCase::testConnectionRoutingOverride in core/
modules/ simpletest/ tests/ database_test.test - Test that connections return appropriate connection objects.
- DatabaseLoggingTestCase::testEnableMultiConnectionLogging in core/
modules/ simpletest/ tests/ database_test.test - Test that we can log queries separately on different connections.
- DatabaseLoggingTestCase::testEnableTargetLogging in core/
modules/ simpletest/ tests/ database_test.test - Test that we can log queries against multiple targets on the same connection.
- DatabaseTasks::checkUtf8mb4 in core/
includes/ install.inc - Check the engine version.
- DatabaseTasks::connect in core/
includes/ install.inc - Check if we can connect to the database.