Connection.php
Same filename in this branch
- 10 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
- 10 core/modules/mysql/src/Driver/Database/mysql/Connection.php
- 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php
- 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Connection.php
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Connection.php
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Connection.php
- 10 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
- 10 core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFake/Connection.php
- 10 core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php
- 10 core/tests/fixtures/database_drivers/core/CoreFake/Connection.php
- 10 core/tests/fixtures/database_drivers/custom/CoreFake/Connection.php
- 10 core/tests/fixtures/database_drivers/custom/fake/Connection.php
- 10 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
- 10 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
- 10 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
- 10 core/lib/Drupal/Core/Database/Connection.php
Same filename in other branches
- 9 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
- 9 core/modules/mysql/src/Driver/Database/mysql/Connection.php
- 9 core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php
- 9 core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Connection.php
- 9 core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Connection.php
- 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Connection.php
- 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php
- 9 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Connection.php
- 9 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
- 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php
- 9 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Connection.php
- 9 core/tests/fixtures/database_drivers/core/corefake/Connection.php
- 9 core/tests/fixtures/database_drivers/custom/corefake/Connection.php
- 9 core/tests/fixtures/database_drivers/custom/fake/Connection.php
- 9 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
- 9 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
- 9 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
- 9 core/lib/Drupal/Core/Database/Connection.php
- 8.9.x core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php
- 8.9.x core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Connection.php
- 8.9.x core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Connection.php
- 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Connection.php
- 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php
- 8.9.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Connection.php
- 8.9.x core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php
- 8.9.x core/tests/fixtures/database_drivers/core/corefake/Connection.php
- 8.9.x core/tests/fixtures/database_drivers/custom/corefake/Connection.php
- 8.9.x core/tests/fixtures/database_drivers/custom/fake/Connection.php
- 8.9.x core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
- 8.9.x core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
- 8.9.x core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
- 8.9.x core/lib/Drupal/Core/Database/Connection.php
- 11.x core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
- 11.x core/modules/mysql/src/Driver/Database/mysql/Connection.php
- 11.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DriverTestMysql/Connection.php
- 11.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DriverTestMysqlDeprecatedVersion/Connection.php
- 11.x core/modules/system/tests/modules/driver_test/src/Driver/Database/DriverTestPgsql/Connection.php
- 11.x core/modules/pgsql/src/Driver/Database/pgsql/Connection.php
- 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFake/Connection.php
- 11.x core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Connection.php
- 11.x core/tests/fixtures/database_drivers/core/CoreFake/Connection.php
- 11.x core/tests/fixtures/database_drivers/custom/CoreFake/Connection.php
- 11.x core/tests/fixtures/database_drivers/custom/fake/Connection.php
- 11.x core/lib/Drupal/Core/Database/Connection.php
Namespace
Drupal\database_statement_monitoring_test\pgsqlFile
-
core/
modules/ system/ tests/ modules/ database_statement_monitoring_test/ src/ pgsql/ Connection.php
View source
<?php
namespace Drupal\database_statement_monitoring_test\pgsql;
use Drupal\pgsql\Driver\Database\pgsql\Connection as BaseConnection;
use Drupal\database_statement_monitoring_test\LoggedStatementsTrait;
@trigger_error('\\Drupal\\database_statement_monitoring_test\\pgsql\\Connection is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. See https://www.drupal.org/node/3318162', E_USER_DEPRECATED);
/**
* PostgreSQL Connection class that can log executed queries.
*
* @deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. There is no
* replacement.
*
* @see https://www.drupal.org/node/3318162
*/
class Connection extends BaseConnection {
use LoggedStatementsTrait;
}
Classes
Title | Deprecated | Summary |
---|---|---|
Connection | in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. |
PostgreSQL Connection class that can log executed queries. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.