Search for connection

  1. Search 7.x for connection
  2. Search 8.9.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/sqlite/src/Driver/Database/sqlite/Connection.php SQLite implementation of \Drupal\Core\Database\Connection.
Connection class core/modules/mysql/src/Driver/Database/mysql/Connection.php MySQL implementation of \Drupal\Core\Database\Connection.
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/modules/pgsql/src/Driver/Database/pgsql/Connection.php PostgreSQL implementation of \Drupal\Core\Database\Connection.
Connection class core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php Corefake implementation of \Drupal\Core\Database\Connection.

All search results

Title Object type File name Summary
ConnectionTest::testLegacyDatabaseDriverInRootDriversDirectory function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests the deprecation of Drupal 8 style database drivers.
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::testPdoStatementClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests the deprecation of \Drupal\Core\Database\Connection::$statementClass.
ConnectionTest::testPDOStatementQueryDeprecation function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the deprecation of passing a PDOStatement object to ::query.
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 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 Tests Connection::schema().
ConnectionTest::testStatementDeprecation function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests deprecation of the Statement class.
ConnectionTest::testStatementQueryDeprecation function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the deprecation of passing a statement object to ::query.
ConnectionTest::testTransactionsOptionDeprecation function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the deprecation of the 'transactions' connection option.
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/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.
DatabaseDriverUninstallValidator::$connection property core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php 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.

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