Search for connection
- Search 7.x for connection
- Search 9.5.x for connection
- Search 8.9.x for connection
- Search 11.x for connection
- Other projects
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Connection | class | core/ |
SQLite implementation of \Drupal\Core\Database\Connection. |
Connection | class | core/ |
MySQL implementation of \Drupal\Core\Database\Connection. |
Connection | class | core/ |
SQlite Connection class that can log executed queries. |
Connection | class | core/ |
MySQL Connection class that can log executed queries. |
Connection | class | core/ |
PostgreSQL Connection class that can log executed queries. |
Connection | class | core/ |
MySQL test implementation of \Drupal\Core\Database\Connection. |
Connection | class | core/ |
MySQL test implementation of \Drupal\Core\Database\Connection. |
Connection | class | core/ |
PostgreSQL implementation of \Drupal\Core\Database\Connection. |
Connection | class | core/ |
PostgreSQL implementation of \Drupal\Core\Database\Connection. |
Connection | class | core/ |
CoreFake implementation of \Drupal\Core\Database\Connection. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
ConnectionTest::testConnectionRouting | function | core/ |
Tests that connections return appropriate connection objects. |
ConnectionTest::testConnectionRoutingOverride | function | core/ |
Tests that connections return appropriate connection objects. |
ConnectionTest::testCreateConnectionOptionsFromUrl | function | core/ |
@covers ::createConnectionOptionsFromUrl @dataProvider providerCreateConnectionOptionsFromUrl |
ConnectionTest::testDeprecatedFetchModes | function | core/ |
Tests deprecated fetch modes. |
ConnectionTest::testDeprecatedGetUnprefixedTablesMap | function | core/ |
Tests deprecation of ::getUnprefixedTablesMap(). |
ConnectionTest::testDeprecatedTablePrefix | function | core/ |
Tests deprecation of ::tablePrefix(). |
ConnectionTest::testEscapeAlias | function | core/ |
@covers ::escapeAlias @dataProvider providerEscapeAlias |
ConnectionTest::testEscapeDatabase | function | core/ |
@covers ::escapeDatabase @dataProvider providerEscapeDatabase |
ConnectionTest::testEscapeField | function | core/ |
@covers ::escapeField @dataProvider providerEscapeFields |
ConnectionTest::testEscapeTable | function | core/ |
@covers ::escapeTable @dataProvider providerEscapeTables |
ConnectionTest::testFilterComments | function | core/ |
Tests Connection::filterComments(). |
ConnectionTest::testFindCallerFromDebugBacktrace | function | core/ |
Tests that the proper caller is retrieved from the backtrace. |
ConnectionTest::testFindCallerFromDebugBacktraceWithMockedBacktrace | function | core/ |
Tests that a log called by a custom database driver returns proper caller. |
ConnectionTest::testGetDriverClass | function | core/ |
@covers ::getDriverClass @dataProvider providerGetDriverClass @group legacy |
ConnectionTest::testHasJson | function | core/ |
Tests that the method ::hasJson() returns TRUE. |
ConnectionTest::testIdentifierQuotesAssertCount | function | core/ |
@covers ::__construct |
ConnectionTest::testIdentifierQuotesAssertString | function | core/ |
@covers ::__construct |
ConnectionTest::testMakeComments | function | core/ |
Tests Connection::makeComments(). |
ConnectionTest::testMakeSequenceNameDeprecation | function | core/ |
Tests deprecation of ::makeSequenceName(). |
ConnectionTest::testMakeSequenceNameDeprecation | function | core/ |
Tests deprecation of ::makeSequenceName(). |
ConnectionTest::testMultipleStatements | function | core/ |
Ensure that you cannot prepare multiple statements. |
ConnectionTest::testMultipleStatementsForNewPhp | function | core/ |
Ensure that you cannot execute multiple statements on MySQL. |
ConnectionTest::testMultipleStatementsQuery | function | core/ |
Ensure that you cannot execute multiple statements in a query. |
ConnectionTest::testNamespaceDefault | function | core/ |
@covers ::__construct |
ConnectionTest::testPerTablePrefixOption | function | core/ |
Tests per-table prefix connection option. |
ConnectionTest::testPrefixArrayOption | function | core/ |
Tests the prefix connection option in array form. |
ConnectionTest::testPrefixRoundTrip | function | core/ |
Exercise setPrefix() and tablePrefix(). |
ConnectionTest::testPrefixTables | function | core/ |
Exercise the prefixTables() method. |
ConnectionTest::testQueryTrim | function | core/ |
Test rtrim() of query strings. |
ConnectionTest::testSchema | function | core/ |
Tests Connection::schema(). |
ConnectionTest::testStatementPrefetchDeprecation | function | core/ |
Tests deprecation of the StatementPrefetch class. |
ConnectionTest::testStatementWrapperDeprecation | function | core/ |
Tests deprecation of the StatementWrapper class. |
ConnectionTest::testSupportedFetchModes | function | core/ |
Tests supported fetch modes. |
ConnectionTest::testVersionAndIsMariaDb | function | core/ |
@covers ::version @covers ::isMariaDb @dataProvider providerVersionAndIsMariaDb |
ConnectionUnitTest | class | core/ |
MySQL-specific connection unit tests. |
ConnectionUnitTest | class | core/ |
PostgreSQL-specific connection unit tests. |
ConnectionUnitTest.php | file | core/ |
|
ConnectionUnitTest.php | file | core/ |
|
ConnectionUnitTest::getQuery | function | core/ |
Returns a set of queries specific for MySQL. |
ConnectionUnitTest::getQuery | function | core/ |
Returns a set of queries specific for PostgreSQL. |
Cookie::$connection | property | core/ |
The database connection. |
CronQueueTest::$connection | property | core/ |
The database connection. |
Database::$connections | property | core/ |
A nested array of active connections, keyed by database name and target. |
Database::addConnectionInfo | function | core/ |
Adds database connection information for a given key/target. |
Database::closeConnection | function | core/ |
Closes a connection to the server specified by the given key and target. |
Database::convertDbUrlToConnectionInfo | function | core/ |
Converts a URL to a database connection info array. |
Database::getAllConnectionInfo | function | core/ |
Gets connection information for all available databases. |
Database::getConnection | function | core/ |
Gets the connection object for the specified database key and target. |
Database::getConnectionInfo | function | core/ |
Gets information on the specified database connection. |
Database::getConnectionInfoAsUrl | function | core/ |
Gets database connection info as a URL. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.