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::testEscapeTable function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeTable
@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
@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
ConnectionTest::testIdentifierQuotesAssertString function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct
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
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::testUnsupportedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests unsupported fetch modes.
ConnectionTest::testVersionAndIsMariaDb function core/modules/mysql/tests/src/Unit/ConnectionTest.php @covers ::version
@covers ::isMariaDb
@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.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.
Cookie::$connection property core/modules/user/src/Authentication/Provider/Cookie.php The database connection.
CronQueueTest::$connection property core/modules/system/tests/src/Kernel/System/CronQueueTest.php The database connection.
Database::$connections property core/lib/Drupal/Core/Database/Database.php A nested array of active connections, keyed by database name and target.
Database::addConnectionInfo function core/lib/Drupal/Core/Database/Database.php Adds database connection information for a given key/target.
Database::closeConnection function core/lib/Drupal/Core/Database/Database.php Closes a connection to the server specified by the given key and target.
Database::convertDbUrlToConnectionInfo function core/lib/Drupal/Core/Database/Database.php Converts a URL to a database connection info array.
Database::getAllConnectionInfo function core/lib/Drupal/Core/Database/Database.php Gets connection information for all available databases.
Database::getConnection function core/lib/Drupal/Core/Database/Database.php Gets the connection object for the specified database key and target.
Database::getConnectionInfo function core/lib/Drupal/Core/Database/Database.php Gets information on the specified database connection.
Database::getConnectionInfoAsUrl function core/lib/Drupal/Core/Database/Database.php Gets database connection info as a URL.
Database::isActiveConnection function core/lib/Drupal/Core/Database/Database.php Determines if there is an active connection.
Database::openConnection function core/lib/Drupal/Core/Database/Database.php Opens a connection to the server specified by the given key and target.
Database::parseConnectionInfo function core/lib/Drupal/Core/Database/Database.php Process the configuration file for database information.
Database::removeConnection function core/lib/Drupal/Core/Database/Database.php Remove a connection and its corresponding connection information.
Database::renameConnection function core/lib/Drupal/Core/Database/Database.php Rename a connection and its corresponding connection information.
Database::setActiveConnection function core/lib/Drupal/Core/Database/Database.php Sets the active connection to the specified key.
Database::setMultipleConnectionInfo function core/lib/Drupal/Core/Database/Database.php Sets connection information for multiple databases.
DatabaseBackend::$connection property core/lib/Drupal/Core/Cache/DatabaseBackend.php The database connection.
DatabaseBackendFactory::$connection property core/lib/Drupal/Core/Cache/DatabaseBackendFactory.php The database connection.
DatabaseCacheTagsChecksum::$connection property core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php The database connection.
DatabaseCacheTagsChecksum::getDatabaseConnection function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Returns the database connection.
DatabaseConnectionRefusedException class core/lib/Drupal/Core/Database/DatabaseConnectionRefusedException.php Exception thrown if server refuses connection.

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