Search for on

  1. Search 7.x for on
  2. Search 9.5.x for on
  3. Search 8.9.x for on
  4. Search 11.x for on
  5. Other projects
Title Object type File name Summary
ConnectionTest.php file core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
ConnectionTest.php file core/modules/mysql/tests/src/Unit/ConnectionTest.php
ConnectionTest.php file core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php
ConnectionTest.php file core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
ConnectionTest.php file core/modules/sqlite/tests/src/Kernel/sqlite/ConnectionTest.php
ConnectionTest.php file core/modules/sqlite/tests/src/Unit/ConnectionTest.php
ConnectionTest::$pdoConnection property core/modules/mysql/tests/src/Unit/ConnectionTest.php A PDO object prophecy.
ConnectionTest::$pdoStatement property core/modules/mysql/tests/src/Unit/ConnectionTest.php A PDO statement prophecy.
ConnectionTest::createConnection function core/modules/mysql/tests/src/Unit/ConnectionTest.php Creates a Connection object for testing.
ConnectionTest::provideQueriesToTrim function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testQueryTrim().
ConnectionTest::providerCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php Data provider for testCreateConnectionOptionsFromUrl.
ConnectionTest::providerDeprecatedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Provides data for testDeprecatedFetchModes.
ConnectionTest::providerEscapeAlias function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeAlias.
ConnectionTest::providerEscapeDatabase function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeDatabase.
ConnectionTest::providerEscapeFields function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeField.
ConnectionTest::providerEscapeTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeTable.
ConnectionTest::providerFilterComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testFilterComments().
ConnectionTest::providerGetDriverClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testGetDriverClass().
ConnectionTest::providerMakeComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testMakeComments().
ConnectionTest::providerMockedBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Provides data for testFindCallerFromDebugBacktraceWithMockedBacktrace.
ConnectionTest::providerPrefixRoundTrip function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testPrefixRoundTrip().
ConnectionTest::providerSchema function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testSchema().
ConnectionTest::providerSupportedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Provides data for testSupportedFetchModes.
ConnectionTest::providerTestPrefixTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testPrefixTables().
ConnectionTest::providerVersionAndIsMariaDb function core/modules/mysql/tests/src/Unit/ConnectionTest.php Provides test data.
ConnectionTest::setUp function core/modules/mysql/tests/src/Unit/ConnectionTest.php
ConnectionTest::tearDown function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
ConnectionTest::testCondition function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that the method ::condition() returns a Condition object.
ConnectionTest::testConnectionClosing function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the closing of a database connection.
ConnectionTest::testConnectionOptions function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the connection options of the active database.
ConnectionTest::testConnectionRouting function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that connections return appropriate connection objects.
ConnectionTest::testConnectionRoutingOverride function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that connections return appropriate connection objects.
ConnectionTest::testCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php @covers ::createConnectionOptionsFromUrl[[api-linebreak]]
@dataProvider providerCreateConnectionOptionsFromUrl
ConnectionTest::testDeprecatedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests deprecated fetch modes.
ConnectionTest::testDeprecatedGetUnprefixedTablesMap function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests deprecation of ::getUnprefixedTablesMap().
ConnectionTest::testDeprecatedTablePrefix function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests deprecation of ::tablePrefix().
ConnectionTest::testEscapeAlias function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeAlias[[api-linebreak]]
@dataProvider providerEscapeAlias
ConnectionTest::testEscapeDatabase function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeDatabase[[api-linebreak]]
@dataProvider providerEscapeDatabase
ConnectionTest::testEscapeField function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeField[[api-linebreak]]
@dataProvider providerEscapeFields
ConnectionTest::testEscapeTable function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeTable[[api-linebreak]]
@dataProvider providerEscapeTables
ConnectionTest::testFilterComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::filterComments().
ConnectionTest::testFindCallerFromDebugBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests that the proper caller is retrieved from the backtrace.
ConnectionTest::testFindCallerFromDebugBacktraceWithMockedBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests that a log called by a custom database driver returns proper caller.
ConnectionTest::testGetDriverClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::getDriverClass[[api-linebreak]]
@dataProvider providerGetDriverClass
@group legacy
ConnectionTest::testHasJson function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that the method ::hasJson() returns TRUE.
ConnectionTest::testIdentifierQuotesAssertCount function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct[[api-linebreak]]
ConnectionTest::testIdentifierQuotesAssertString function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct[[api-linebreak]]
ConnectionTest::testMakeComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::makeComments().
ConnectionTest::testMakeSequenceNameDeprecation function core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php Tests deprecation of ::makeSequenceName().
ConnectionTest::testMakeSequenceNameDeprecation function core/modules/sqlite/tests/src/Kernel/sqlite/ConnectionTest.php Tests deprecation of ::makeSequenceName().

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