Search for connection

  1. Search 7.x for connection
  2. Search 9.5.x for connection
  3. Search 10.3.x for connection
  4. Search 11.x for connection
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Connection class core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php SQlite Connection class that can log executed queries.
Connection class core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Connection.php MySQL Connection class that can log executed queries.
Connection class core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Connection.php PostgreSQL Connection class that can log executed queries.
Connection class core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Connection.php MySQL test implementation of \Drupal\Core\Database\Connection.
Connection class core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php MySQL test implementation of \Drupal\Core\Database\Connection.
Connection class core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Connection.php PostgreSQL implementation of \Drupal\Core\Database\Connection.
Connection class core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php
Connection class core/tests/fixtures/database_drivers/core/corefake/Connection.php
Connection class core/tests/fixtures/database_drivers/custom/corefake/Connection.php
Connection class core/tests/fixtures/database_drivers/custom/fake/Connection.php A fake Connection class for testing purposes.

All search results

Title Object type File name Summary
ConnectionTest::testMultipleStatementsForNewPhp function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot execute multiple statements on MySQL.
ConnectionTest::testPostgresqlReservedWords function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Test the escapeTable(), escapeField() and escapeAlias() methods with all possible reserved words in PostgreSQL.
ConnectionTest::testPrefixRoundTrip function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Exercise setPrefix() and tablePrefix().
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 Test Connection::schema().
ConnectionUnitTest class core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests management of database connections.
ConnectionUnitTest.php file core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
ConnectionUnitTest::$connection property core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php The default database connection used for testing.
ConnectionUnitTest::$monitor property core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php A database connection used for monitoring processes.
ConnectionUnitTest::addConnection function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Adds a new database connection info to Database.
ConnectionUnitTest::assertConnection function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Asserts that a connection ID exists.
ConnectionUnitTest::assertNoConnection function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Asserts that a connection ID does not exist.
ConnectionUnitTest::getConnectionId function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Returns the connection ID of the current test connection.
ConnectionUnitTest::setUp function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php
ConnectionUnitTest::testConnectionOpen function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests pdo options override.
ConnectionUnitTest::testOpenClose function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests Database::closeConnection() without query.
ConnectionUnitTest::testOpenQueryClose function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests Database::closeConnection() with a query.
ConnectionUnitTest::testOpenQueryPrefetchClose function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests Database::closeConnection() with a query and custom prefetch method.
ConnectionUnitTest::testOpenSelectQueryClose function core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php Tests Database::closeConnection() with a select query.
ConnectionUnitTest::TEST_TARGET_CONNECTION constant core/tests/Drupal/KernelTests/Core/Database/ConnectionUnitTest.php A target connection identifier to be used for testing.
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 An nested array of all active connections. It is 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/Flood/DatabaseBackend.php The database connection used to store flood event information.
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.
DatabaseFileUsageBackend::$connection property core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php The database connection used to store file usage information.
DatabaseQueue::$connection property core/lib/Drupal/Core/Queue/DatabaseQueue.php The database connection.
DatabaseStorage::$connection property core/lib/Drupal/Core/Config/DatabaseStorage.php The database connection.
DatabaseStorage::$connection property core/lib/Drupal/Core/KeyValueStore/DatabaseStorage.php The database connection.
DatabaseTestBase::$connection property core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php The database connection for testing.
DatabaseTestController::$connection property core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php The database connection.
DbCommandBase::getDatabaseConnection function core/lib/Drupal/Core/Command/DbCommandBase.php Parse input options decide on a database.

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