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
Connection::__construct function core/lib/Drupal/Core/Database/Connection.php Constructs a Connection object.
Connection::__construct function core/modules/sqlite/src/Driver/Database/sqlite/Connection.php Constructs a \Drupal\sqlite\Driver\Database\sqlite\Connection object.
Connection::__construct function core/modules/mysql/src/Driver/Database/mysql/Connection.php
Connection::__construct function core/modules/pgsql/src/Driver/Database/pgsql/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/modules/mysql/src/Driver/Database/mysql/Connection.php
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/sqlite/tests/src/Kernel/sqlite/ConnectionTest.php SQLite-specific connection tests.
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/sqlite/tests/src/Kernel/sqlite/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::providerDeprecatedFetchModes function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Provides data for testDeprecatedFetchModes.
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::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.

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