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 10.3.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/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.
Connection class core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php CoreFakeWithAllCustomClasses implementation of \Drupal\Core\Database\Connection.
Connection class core/tests/fixtures/database_drivers/core/CoreFake/Connection.php
Connection class core/tests/fixtures/database_drivers/custom/CoreFake/Connection.php

All search results

Title Object type File name Summary
Connection::__construct function core/lib/Drupal/Core/Database/Connection.php Constructs a Connection object.
Connection::__destruct function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Destructor for the SQLite connection.
Connection::__destruct function core/lib/Drupal/Core/Database/Connection.php Ensures that the client connection can be garbage collected.
Connection::__sleep function core/lib/Drupal/Core/Database/Connection.php Prevents the database connection from being serialized.
ConnectionFailureTest class core/modules/dblog/tests/src/Kernel/ConnectionFailureTest.php Tests logging of connection failures.
ConnectionFailureTest.php file core/modules/dblog/tests/src/Kernel/ConnectionFailureTest.php
ConnectionFailureTest::$modules property core/modules/dblog/tests/src/Kernel/ConnectionFailureTest.php Modules to install.
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::providerMockedBacktrace function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Provides data for testFindCallerFromDebugBacktraceWithMockedBacktrace.
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::providerSupportedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Provides data for testSupportedFetchModes.
ConnectionTest::providerTestPrefixTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Data provider for testPrefixTables().
ConnectionTest::providerUnsupportedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Provides data for testUnsupportedFetchModes.
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::tearDown function core/tests/Drupal/Tests/Core/Database/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::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

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