Search for connection

  1. Search 7.x for connection
  2. Search 9.5.x for connection
  3. Search 8.9.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/core_fake/src/Driver/Database/CoreFake/Connection.php CoreFake implementation of \Drupal\Core\Database\Connection.

All search results

Title Object type File name Summary
StubConnection::nextId function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::open function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::queryRange function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::schema function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::select function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::startTransaction function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::testLogCaller function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Helper method to test database classes are not included in backtraces.
StubConnection::truncate function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::update function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::upsert function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php
StubConnection::__construct function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Constructs a Connection object.
SysLog::$connectionOpened property core/modules/syslog/src/Logger/SysLog.php Stores whether there is a system logger connection opened or not.
SysLog::openConnection function core/modules/syslog/src/Logger/SysLog.php Opens a connection to the system logger.
Tasks::getConnection function core/lib/Drupal/Core/Database/Install/Tasks.php Returns the database connection.
Tasks::isConnectionActive function core/lib/Drupal/Core/Database/Install/Tasks.php Determines if there is an active connection.
TemporaryQueryTestBase::getConnection function core/tests/Drupal/KernelTests/Core/Database/TemporaryQueryTestBase.php Returns the connection.
TestRunTest::$connection property core/tests/Drupal/KernelTests/Core/Test/TestRunTest.php The database connection for testing.
TestSetupTrait::getDatabaseConnection function core/lib/Drupal/Core/Test/TestSetupTrait.php Returns the database connection to the site under test.
TestSetupTraitTest::testGetDatabaseConnection function core/tests/Drupal/KernelTests/Core/Test/TestSetupTraitTest.php @covers ::getDatabaseConnection
@group legacy
Transaction::$connection property core/lib/Drupal/Core/Database/Transaction.php The connection object for this transaction.
TransactionManagerBase::$connectionTransactionState property core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php The state of the underlying client connection transaction.
TransactionManagerBase::getConnectionTransactionState function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Gets the state of the client connection transaction.
TransactionManagerBase::setConnectionTransactionState function core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php Sets the state of the client connection transaction.
UncaughtExceptionTest::testLostDatabaseConnection function core/tests/Drupal/FunctionalTests/Bootstrap/UncaughtExceptionTest.php Tests the case when the database connection is gone.
UrlConversionTest::providerConvertDbUrlToConnectionInfo function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Data provider for testDbUrlToConnectionConversion().
UrlConversionTest::providerGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Data provider for testGetConnectionInfoAsUrl().
UrlConversionTest::providerInvalidArgumentGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Data provider for testGetInvalidArgumentGetConnectionInfoAsUrl().
UrlConversionTest::testDbUrlToConnectionConversion function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php @covers ::convertDbUrlToConnectionInfo
UrlConversionTest::testGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php @covers ::getConnectionInfoAsUrl
UrlConversionTest::testGetInvalidArgumentGetConnectionInfoAsUrl function core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php Tests ::getConnectionInfoAsUrl() exception for invalid arguments.
UserData::$connection property core/modules/user/src/UserData.php The database connection to use.
UserSelection::$connection property core/modules/user/src/Plugin/EntityReferenceSelection/UserSelection.php The database connection.
Y2038TimestampUpdateTest::$connection property core/modules/system/tests/src/Functional/Update/Y2038TimestampUpdateTest.php The database.

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