Search for connect

  1. Search 7.x for connect
  2. Search 9.5.x for connect
  3. Search 8.9.x for connect
  4. Search 10.3.x for connect
  5. Other projects
Title Object type File name Summary
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::providerSupportedLegacyFetchModes 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::providerUnsupportedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Provides data for testUnsupportedFetchModes.
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::testDeprecationOfRootInConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php Confirms deprecation of the $root argument.
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::testMultipleStatements function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot prepare multiple statements.
ConnectionTest::testMultipleStatementsForNewPhp function core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php Ensure that you cannot execute multiple statements on MySQL.
ConnectionTest::testMultipleStatementsQuery function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot execute multiple statements in a query.
ConnectionTest::testNamespaceDefault function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct[[api-linebreak]]
ConnectionTest::testPerTablePrefixOption function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests per-table prefix connection option.
ConnectionTest::testPrefixArrayOption function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the prefix connection option in array form.
ConnectionTest::testPrefixRoundTrip function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Exercise setPrefix() and getPrefix().
ConnectionTest::testPrefixTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Exercise the prefixTables() method.
ConnectionTest::testQueryTrim function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Test rtrim() of query strings.
ConnectionTest::testSchema function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::schema().
ConnectionTest::testSupportedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests supported fetch modes.
ConnectionTest::testSupportedLegacyFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests supported fetch modes.
ConnectionTest::testUnsupportedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests unsupported legacy fetch modes.
ConnectionTest::testVersionAndIsMariaDb function core/modules/mysql/tests/src/Unit/ConnectionTest.php @covers ::version[[api-linebreak]]
@covers ::isMariaDb[[api-linebreak]]
@dataProvider providerVersionAndIsMariaDb
ConnectionUnitTest class core/modules/mysql/tests/src/Kernel/mysql/ConnectionUnitTest.php MySQL-specific connection unit tests.
ConnectionUnitTest class core/modules/pgsql/tests/src/Kernel/pgsql/ConnectionUnitTest.php PostgreSQL-specific connection unit tests.
ConnectionUnitTest class core/modules/mysqli/tests/src/Kernel/mysqli/ConnectionUnitTest.php MySQL-specific connection unit tests.
ConnectionUnitTest.php file core/modules/mysqli/tests/src/Kernel/mysqli/ConnectionUnitTest.php
ConnectionUnitTest.php file core/modules/mysql/tests/src/Kernel/mysql/ConnectionUnitTest.php
ConnectionUnitTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/ConnectionUnitTest.php
ConnectionUnitTest::getQuery function core/modules/mysql/tests/src/Kernel/mysql/ConnectionUnitTest.php Returns a set of queries specific for MySQL.
ConnectionUnitTest::getQuery function core/modules/pgsql/tests/src/Kernel/pgsql/ConnectionUnitTest.php Returns a set of queries specific for PostgreSQL.
ConnectionUnitTest::testConnectionOpen function core/modules/mysqli/tests/src/Kernel/mysqli/ConnectionUnitTest.php Tests pdo options override.

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