Search for connection

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

All search results

Title Object type File name Summary
ConnectionFailureTest.php file core/modules/dblog/tests/src/Kernel/ConnectionFailureTest.php
ConnectionFailureTest::$modules property core/modules/dblog/tests/src/Kernel/ConnectionFailureTest.php Modules to enable.
ConnectionFailureTest::testConnectionFailureLogging function core/modules/dblog/tests/src/Kernel/ConnectionFailureTest.php Tests logging of connection failures.
ConnectionNotDefinedException class core/lib/Drupal/Core/Database/ConnectionNotDefinedException.php Exception thrown if an undefined database connection is requested.
ConnectionNotDefinedException.php file core/lib/Drupal/Core/Database/ConnectionNotDefinedException.php
ConnectionTest class core/modules/sqlite/tests/src/Unit/ConnectionTest.php @coversDefaultClass \Drupal\sqlite\Driver\Database\sqlite\Connection
@group Database
ConnectionTest class core/modules/mysql/tests/src/Unit/ConnectionTest.php Tests MySQL database connections.
ConnectionTest class core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php MySQL-specific connection tests.
ConnectionTest class core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests of the core database system.
ConnectionTest class core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests the Connection class.
ConnectionTest.php file core/modules/sqlite/tests/src/Unit/ConnectionTest.php
ConnectionTest.php file core/modules/mysql/tests/src/Unit/ConnectionTest.php
ConnectionTest.php file core/modules/mysql/tests/src/Kernel/mysql/ConnectionTest.php
ConnectionTest.php file core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
ConnectionTest.php file core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
ConnectionTest::$pdoConnection property core/modules/mysql/tests/src/Unit/ConnectionTest.php A PDO object prophecy.
ConnectionTest::$pdoStatement property core/modules/mysql/tests/src/Unit/ConnectionTest.php A PDO statement prophecy.
ConnectionTest::createConnection function core/modules/mysql/tests/src/Unit/ConnectionTest.php Creates a Connection object for testing.
ConnectionTest::provideQueriesToTrim function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testQueryTrim().
ConnectionTest::providerCreateConnectionOptionsFromUrl function core/modules/sqlite/tests/src/Unit/ConnectionTest.php Data provider for testCreateConnectionOptionsFromUrl.
ConnectionTest::providerEscapeAlias function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeAlias.
ConnectionTest::providerEscapeDatabase function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeDatabase.
ConnectionTest::providerEscapeFields function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeField.
ConnectionTest::providerEscapeTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testEscapeTable.
ConnectionTest::providerFilterComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testFilterComments().
ConnectionTest::providerGetDriverClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testGetDriverClass().
ConnectionTest::providerMakeComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testMakeComments().
ConnectionTest::providerPrefixRoundTrip function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testPrefixRoundTrip().
ConnectionTest::providerSchema function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testSchema().
ConnectionTest::providerTestPrefixTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testPrefixTables().
ConnectionTest::providerVersionAndIsMariaDb function core/modules/mysql/tests/src/Unit/ConnectionTest.php Provides test data.
ConnectionTest::setUp function core/modules/mysql/tests/src/Unit/ConnectionTest.php
ConnectionTest::testCondition function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that the method ::condition() returns a Condition object.
ConnectionTest::testConnectionClosing function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the closing of a database connection.
ConnectionTest::testConnectionOptions function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests the connection options of the active database.
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::testDestroy function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::destroy().
ConnectionTest::testDestructBcLayer function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests Connection::__destruct().
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::testGetDriverClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::getDriverClass
@dataProvider providerGetDriverClass
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::testIdentifierQuotesDeprecation function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php @covers ::__construct
@group legacy

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