Connection.php
Namespace
Drupal\database_statement_monitoring_test\mysqlFile
-
core/
modules/ system/ tests/ modules/ database_statement_monitoring_test/ src/ mysql/ Connection.php
View source
<?php
namespace Drupal\database_statement_monitoring_test\mysql;
use Drupal\mysql\Driver\Database\mysql\Connection as BaseConnection;
use Drupal\database_statement_monitoring_test\LoggedStatementsTrait;
@trigger_error('\\Drupal\\database_statement_monitoring_test\\mysql\\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);
/**
* MySQL 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. |
MySQL 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.