class Connection in Drupal 10
Same name in this branch
- 10 core/tests/fixtures/database_drivers/custom/corefake/Connection.php \Drupal\Driver\Database\corefake\Connection
- 10 core/tests/fixtures/database_drivers/custom/fake/Connection.php \Drupal\Driver\Database\fake\Connection
- 10 core/tests/fixtures/database_drivers/core/corefake/Connection.php \Drupal\Core\Database\Driver\corefake\Connection
- 10 core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php \Drupal\Core\Database\Driver\sqlite\Connection
- 10 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection
- 10 core/lib/Drupal/Core/Database/Driver/mysql/Connection.php \Drupal\Core\Database\Driver\mysql\Connection
- 10 core/modules/sqlite/src/Driver/Database/sqlite/Connection.php \Drupal\sqlite\Driver\Database\sqlite\Connection
- 10 core/modules/pgsql/src/Driver/Database/pgsql/Connection.php \Drupal\pgsql\Driver\Database\pgsql\Connection
- 10 core/modules/mysql/src/Driver/Database/mysql/Connection.php \Drupal\mysql\Driver\Database\mysql\Connection
- 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php \Drupal\database_statement_monitoring_test\sqlite\Connection
- 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Connection.php \Drupal\database_statement_monitoring_test\pgsql\Connection
- 10 core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Connection.php \Drupal\database_statement_monitoring_test\mysql\Connection
- 10 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefake/Connection.php \Drupal\corefake\Driver\Database\corefake\Connection
- 10 core/tests/fixtures/database_drivers/module/corefake/src/Driver/Database/corefakeWithAllCustomClasses/Connection.php \Drupal\corefake\Driver\Database\corefakeWithAllCustomClasses\Connection
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysql/Connection.php \Drupal\driver_test\Driver\Database\DrivertestMysql\Connection
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestPgsql/Connection.php \Drupal\driver_test\Driver\Database\DrivertestPgsql\Connection
- 10 core/modules/system/tests/modules/driver_test/src/Driver/Database/DrivertestMysqlDeprecatedVersion/Connection.php \Drupal\driver_test\Driver\Database\DrivertestMysqlDeprecatedVersion\Connection
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection
- 9 core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php \Drupal\Core\Database\Driver\pgsql\Connection
PostgreSQL implementation of \Drupal\Core\Database\Connection.
Hierarchy
- class \Drupal\pgsql\Driver\Database\pgsql\Connection extends \Drupal\Core\Database\Connection
- class \Drupal\Core\Database\Driver\pgsql\Connection
Expanded class hierarchy of Connection
Deprecated
in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module.
See also
https://www.drupal.org/node/3129492
1 file declares its use of Connection
- PgsqlDriverLegacyTest.php in core/
tests/ Drupal/ KernelTests/ Core/ Database/ PgsqlDriverLegacyTest.php
File
- core/
lib/ Drupal/ Core/ Database/ Driver/ pgsql/ Connection.php, line 17
Namespace
Drupal\Core\Database\Driver\pgsqlView source
class Connection extends PgsqlConnection {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Connection:: |
protected | property | ||
Connection:: |
protected static | property | A map of condition operators to PostgreSQL operators. | |
Connection:: |
protected | property | ||
Connection:: |
protected | property | ||
Connection:: |
public | function | Add a new savepoint with a unique name. | |
Connection:: |
constant | Error code for "Connection failure" errors. | ||
Connection:: |
public | function | Overrides \Drupal\Core\Database\Connection::createDatabase(). | |
Connection:: |
public | function | ||
Connection:: |
constant | Error code for "Unknown database" error. | ||
Connection:: |
public | function | ||
Connection:: |
public | function | ||
Connection:: |
public | function | ||
Connection:: |
public | function | ||
Connection:: |
public | function | Retrieve a the next id in a sequence. | |
Connection:: |
public static | function | ||
Connection:: |
constant | The name by which to obtain a lock for retrieve the next insert id. | ||
Connection:: |
public | function | ||
Connection:: |
public | function | ||
Connection:: |
public | function | ||
Connection:: |
public | function | Release a savepoint by name. | |
Connection:: |
public | function | Rollback a savepoint by name if it exists. | |
Connection:: |
public | function | Constructs a connection object. |