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
ConnectionTest::testConnectionRouting function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that connections return appropriate connection objects.
ConnectionTest::testConnectionRoutingOverride function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that connections return appropriate connection objects.
ConnectionTest::testCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php @covers ::createConnectionOptionsFromUrl
@dataProvider providerCreateConnectionOptionsFromUrl
ConnectionTest::testDeprecatedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests deprecated fetch modes.
ConnectionTest::testDeprecatedGetUnprefixedTablesMap function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests deprecation of ::getUnprefixedTablesMap().
ConnectionTest::testDeprecatedTablePrefix function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests deprecation of ::tablePrefix().
ConnectionTest::testEscapeAlias function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeAlias
@dataProvider providerEscapeAlias
ConnectionTest::testEscapeDatabase function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeDatabase
@dataProvider providerEscapeDatabase
ConnectionTest::testEscapeField function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeField
@dataProvider providerEscapeFields
ConnectionTest::testEscapeTable function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::escapeTable
@dataProvider providerEscapeTables
ConnectionTest::testFilterComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::filterComments().
ConnectionTest::testFindCallerFromDebugBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests that the proper caller is retrieved from the backtrace.
ConnectionTest::testFindCallerFromDebugBacktraceWithMockedBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests that a log called by a custom database driver returns proper caller.
ConnectionTest::testGetDriverClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::getDriverClass
@dataProvider providerGetDriverClass
@group legacy
ConnectionTest::testHasJson function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that the method ::hasJson() returns TRUE.
ConnectionTest::testIdentifierQuotesAssertCount function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct
ConnectionTest::testIdentifierQuotesAssertString function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct
ConnectionTest::testMakeComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::makeComments().
ConnectionTest::testMakeSequenceNameDeprecation function core/modules/sqlite/tests/src/Kernel/sqlite/ConnectionTest.php Tests deprecation of ::makeSequenceName().
ConnectionTest::testMakeSequenceNameDeprecation function core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php Tests deprecation of ::makeSequenceName().
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::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::testStatementPrefetchDeprecation function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests deprecation of the StatementPrefetch class.
ConnectionTest::testStatementWrapperDeprecation function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests deprecation of the StatementWrapper class.
ConnectionTest::testSupportedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests supported fetch modes.
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.

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