| SqlContentEntityStorageTest::$connection |
property |
core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php |
The database connection to use. |
| SqliteConnection |
class |
core/modules/sqlite/src/Driver/Database/sqlite/SqliteConnection.php |
SQLite-specific implementation of a PDO connection. |
| SqliteConnection.php |
file |
core/modules/sqlite/src/Driver/Database/sqlite/SqliteConnection.php |
|
| SqliteConnection::beginTransaction |
function |
core/modules/sqlite/src/Driver/Database/sqlite/SqliteConnection.php |
|
| SqliteConnection::commit |
function |
core/modules/sqlite/src/Driver/Database/sqlite/SqliteConnection.php |
|
| SqliteConnection::rollBack |
function |
core/modules/sqlite/src/Driver/Database/sqlite/SqliteConnection.php |
|
| SqlModeTest::getDatabaseConnectionInfo |
function |
core/modules/mysql/tests/src/Kernel/mysql/SqlModeTest.php |
Returns the Database connection info to be used for this test. |
| SqlModeTest::getDatabaseConnectionInfo |
function |
core/modules/mysqli/tests/src/Kernel/mysqli/SqlModeTest.php |
Returns the Database connection info to be used for this test. |
| SqlQueryTest::testGetConnection |
function |
core/modules/views/tests/src/Kernel/Plugin/SqlQueryTest.php |
Tests the method \Drupal\views\Plugin\views\query\Sql::getConnection(). |
| StatementBase::getConnectionTarget |
function |
core/lib/Drupal/Core/Database/Statement/StatementBase.php |
Returns the target connection this statement is associated with. |
| StatementInterface::getConnectionTarget |
function |
core/lib/Drupal/Core/Database/StatementInterface.php |
Returns the target connection this statement is associated with. |
| StringDatabaseStorage::$connection |
property |
core/modules/locale/src/StringDatabaseStorage.php |
The database connection. |
| StringFilter::$connection |
property |
core/modules/views/src/Plugin/views/filter/StringFilter.php |
The database connection. |
| StubConnection |
class |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
A stub of the abstract Connection class for testing purposes. |
| StubConnection.php |
file |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
|
| StubConnection::$driver |
property |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Public property so we can test driver loading mechanism. |
| StubConnection::$statementWrapperClass |
property |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
The name of the StatementWrapper class for this connection. |
| StubConnection::condition |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Prepares and returns a CONDITION query object. |
| StubConnection::createDatabase |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Creates a database. |
| StubConnection::databaseType |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Returns the name of the database engine accessed by this driver. |
| StubConnection::driver |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Returns the type of database driver. |
| StubConnection::exceptionHandler |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Returns the database exceptions handler. |
| StubConnection::mapConditionOperator |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Gets any special processing requirements for the condition operator. |
| StubConnection::open |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Opens a client connection. |
| StubConnection::queryRange |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Runs a limited-range query on this database object. |
| StubConnection::schema |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Returns a DatabaseSchema object for manipulating the schema. |
| StubConnection::testLogCaller |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Helper method to test database classes are not included in backtraces. |
| StubConnection::upsert |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Prepares and returns an UPSERT query object. |
| 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. |
| 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 |
Tests db url to connection conversion. |
| UrlConversionTest::testGetConnectionInfoAsUrl |
function |
core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php |
Tests get connection info as url. |
| 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. |