Search for connection

  1. Search 7.x for connection
  2. Search 9.5.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/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/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php
Connection class core/tests/fixtures/database_drivers/core/corefake/Connection.php
Connection class core/tests/fixtures/database_drivers/custom/corefake/Connection.php
Connection class core/tests/fixtures/database_drivers/custom/fake/Connection.php A fake Connection class for testing purposes.

All search results

Title Object type File name Summary
Connection::transactionDepth function core/lib/Drupal/Core/Database/Connection.php Determines the current transaction depth.
Connection::truncate function core/lib/Drupal/Core/Database/Connection.php Prepares and returns a TRUNCATE query object.
Connection::UNKNOWN_CHARSET constant core/lib/Drupal/Core/Database/Driver/mysql/Connection.php Driver-specific error code for "Unknown character set" error.
Connection::UNSUPPORTED_CHARSET constant core/lib/Drupal/Core/Database/Driver/mysql/Connection.php Error code for "Can't initialize character set" error.
Connection::update function core/lib/Drupal/Core/Database/Connection.php Prepares and returns an UPDATE query object.
Connection::upsert function core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php Prepares and returns an UPSERT query object.
Connection::upsert function core/lib/Drupal/Core/Database/Connection.php Prepares and returns an UPSERT query object.
Connection::version function core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php Returns the version of the database server.
Connection::version function core/lib/Drupal/Core/Database/Connection.php Returns the version of the database server.
Connection::__construct function core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php Constructs a Connection object.
Connection::__construct function core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php Constructs a \Drupal\Core\Database\Driver\sqlite\Connection object.
Connection::__construct function core/lib/Drupal/Core/Database/Driver/mysql/Connection.php Constructs a Connection object.
Connection::__construct function core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php Constructs a connection object.
Connection::__construct function core/lib/Drupal/Core/Database/Connection.php Constructs a Connection object.
Connection::__destruct function core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php Destructor for the SQLite connection.
Connection::__destruct function core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
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 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/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests of the core database system.
ConnectionTest class core/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php @coversDefaultClass \Drupal\Core\Database\Driver\sqlite\Connection
@group Database
ConnectionTest class core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Tests the Connection class.
ConnectionTest.php file core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php
ConnectionTest.php file core/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php
ConnectionTest.php file core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
ConnectionTest::provideQueriesToTrim function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testQueryTrim().
ConnectionTest::providerCreateConnectionOptionsFromUrl function core/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php Data provider for testCreateConnectionOptionsFromUrl.
ConnectionTest::providerEscapeMethods function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testEscapeMethods().
ConnectionTest::providerFilterComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testFilterComments().
ConnectionTest::providerGetDriverClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testGetDriverClass().
ConnectionTest::providerMakeComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testMakeComments().
ConnectionTest::providerPrefixRoundTrip function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testPrefixRoundTrip().
ConnectionTest::providerSchema function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testSchema().
ConnectionTest::providerTestPrefixTables function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Dataprovider for testPrefixTables().
ConnectionTest::testCondition function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Test 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/tests/Drupal/Tests/Core/Database/Driver/sqlite/ConnectionTest.php @covers ::createConnectionOptionsFromUrl
@dataProvider providerCreateConnectionOptionsFromUrl
ConnectionTest::testDestroy function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Test Connection::destroy().
ConnectionTest::testEscapeMethods function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Test the various escaping methods.
ConnectionTest::testFilterComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Test Connection::filterComments().
ConnectionTest::testGetDriverClass function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Test getDriverClass().
ConnectionTest::testMakeComments function core/tests/Drupal/Tests/Core/Database/ConnectionTest.php Test Connection::makeComments().
ConnectionTest::testMultipleStatements function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Ensure that you cannot execute multiple statements.

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