SqlModeTest::getDatabaseConnectionInfo |
function |
core/modules/mysql/tests/src/Kernel/mysql/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(). |
Statement::getConnectionTarget |
function |
core/lib/Drupal/Core/Database/Statement.php |
|
StatementPrefetch::$connection |
property |
core/lib/Drupal/Core/Database/StatementPrefetch.php |
The Drupal database connection object. |
StatementPrefetch::$pdoConnection |
property |
core/lib/Drupal/Core/Database/StatementPrefetch.php |
Reference to the PDO connection object for this statement. |
StatementPrefetch::getConnectionTarget |
function |
core/lib/Drupal/Core/Database/StatementPrefetch.php |
|
StatementWrapper::$connection |
property |
core/lib/Drupal/Core/Database/StatementWrapper.php |
The Drupal database connection object. |
StatementWrapper::getConnectionTarget |
function |
core/lib/Drupal/Core/Database/StatementWrapper.php |
|
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::$statementClass |
property |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
The name of the Statement class for this connection. |
StubConnection::$statementWrapperClass |
property |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
The name of the StatementWrapper class for this connection. |
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::mapConditionOperator |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Gets any special processing requirements for the condition operator. |
StubConnection::nextId |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Retrieves a unique ID from a given sequence. |
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::queryTemporary |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Runs a SELECT query and stores its results in a temporary table. |
StubConnection::testLogCaller |
function |
core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php |
Helper method to test database classes are not included in backtraces. |
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. |
TestDatabase::getConnection |
function |
core/lib/Drupal/Core/Test/TestDatabase.php |
Returns the database connection to the site running Simpletest. |
TestSetupTrait::getDatabaseConnection |
function |
core/lib/Drupal/Core/Test/TestSetupTrait.php |
Returns the database connection to the site running Simpletest. |
Transaction::$connection |
property |
core/lib/Drupal/Core/Database/Transaction.php |
The connection object for this 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. |