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/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php \Drupal\database_statement_monitoring_test\sqlite\Connection
- 9 core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php \Drupal\database_statement_monitoring_test\sqlite\Connection
SQlite Connection class that can log executed queries.
Hierarchy
- class \Drupal\sqlite\Driver\Database\sqlite\Connection extends \Drupal\Core\Database\Connection
- class \Drupal\database_statement_monitoring_test\sqlite\Connection uses LoggedStatementsTrait
Expanded class hierarchy of Connection
File
- core/
modules/ system/ tests/ modules/ database_statement_monitoring_test/ src/ sqlite/ Connection.php, line 11
Namespace
Drupal\database_statement_monitoring_test\sqliteView source
class Connection extends BaseConnection {
use LoggedStatementsTrait;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Connection:: |
protected | property | All databases attached to the current database. | |
Connection:: |
protected | property | ||
Connection:: |
protected static | property | A map of condition operators to SQLite operators. | |
Connection:: |
protected | property | ||
Connection:: |
public | property | Whether or not a table has been dropped this request. | |
Connection:: |
protected | property | ||
Connection:: |
protected | property | Whether or not the active transaction (if any) will be rolled back. | |
Connection:: |
public | function | ||
Connection:: |
public static | function | ||
Connection:: |
public | function | Overrides \Drupal\Core\Database\Connection::createDatabase(). | |
Connection:: |
public static | function | ||
Connection:: |
public | function | ||
Connection:: |
constant | Error code for "Unable to open database file" error. | ||
Connection:: |
public | function | ||
Connection:: |
public | function | Gets all the attached databases. | |
Connection:: |
public | function | ||
Connection:: |
public | function | ||
Connection:: |
public | function | ||
Connection:: |
public static | function | ||
Connection:: |
public | function | ||
Connection:: |
public | function | ||
Connection:: |
public static | function | SQLite compatibility implementation for the CONCAT() SQL function. | |
Connection:: |
public static | function | SQLite compatibility implementation for the CONCAT_WS() SQL function. | |
Connection:: |
public static | function | SQLite compatibility implementation for the GREATEST() SQL function. | |
Connection:: |
public static | function | SQLite compatibility implementation for the IF() SQL function. | |
Connection:: |
public static | function | SQLite compatibility implementation for the LEAST() SQL function. | |
Connection:: |
public static | function | SQLite compatibility implementation for the LIKE BINARY SQL operator. | |
Connection:: |
public static | function | SQLite compatibility implementation for the RAND() SQL function. | |
Connection:: |
public static | function | SQLite compatibility implementation for the REGEXP SQL operator. | |
Connection:: |
public static | function | SQLite compatibility implementation for the SUBSTRING() SQL function. | |
Connection:: |
public static | function | SQLite compatibility implementation for the SUBSTRING_INDEX() SQL function. | |
Connection:: |
public | function | Constructs a \Drupal\sqlite\Driver\Database\sqlite\Connection object. | |
Connection:: |
public | function | Destructor for the SQLite connection. | |
LoggedStatementsTrait:: |
protected | property | Logged statements. | |
LoggedStatementsTrait:: |
public | function | ||
LoggedStatementsTrait:: |
public | function | Returns the executed queries. | |
LoggedStatementsTrait:: |
public | function | ||
LoggedStatementsTrait:: |
public | function | Resets logged statements. |