MySQL database connection driver.
Hierarchy
- class DatabaseConnection
- class DatabaseConnection_mysql
Expanded class hierarchy of DatabaseConnection_mysql
Related topics
File
- core/
includes/ database/ mysql/ database.inc, line 15 - Database interface code for MySQL database servers.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
DatabaseConnection_mysql:: |
public | function | Destroy a MySQL database connection object. |
DatabaseConnection_mysql:: |
public | function |
Constructs a MySQL-based DatabaseConnection. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Returns the version of the database server. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Checks whether utf8mb4 support is available on the current database system. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Checks whether utf8mb4 support is currently active. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
protected | function |
Set the list of prefixes used by this database connection. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Rolls back the transaction entirely or to a named savepoint. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
private | function | Quotes an identifier with backticks for MySQL 8 compatibility. |
DatabaseConnection_mysql:: |
public | function |
Runs a SELECT query and stores its results in a temporary table. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Runs a limited-range query on this database object. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
protected | function |
Overridden to work around issues to MySQL not supporting transactional DDL. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function | Clean up the sequences table when closing a database connection. |
DatabaseConnection_mysql:: |
public | function |
Retrieves an unique id from a given sequence. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Gets any special processing requirements for the condition operator. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Escapes a field name string. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Escapes an alias name string. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Returns the type of database driver. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
protected | function | Do the actual commit, including a workaround for PHP 8 behaviour changes. |
DatabaseConnection_mysql:: |
public | function |
Returns the name of the PDO driver for this connection. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
public | function |
Creates a database. Overrides DatabaseConnection:: |
DatabaseConnection_mysql:: |
protected | property | Flag set in utf8mb4IsSupported(). |
DatabaseConnection_mysql:: |
protected | property | Flag to indicate if the cleanup function in __destruct() should run. |
DatabaseConnection:: |
public | function | Prepares and returns an UPDATE query object. |
DatabaseConnection:: |
public | function | Prepares and returns a TRUNCATE query object. |
DatabaseConnection:: |
public | function | Determines current transaction depth. |
DatabaseConnection:: |
public | function | Find the prefix for a table. |
DatabaseConnection:: |
public | function | Determines if this driver supports transactions. |
DatabaseConnection:: |
public | function | Determines if this driver supports transactional DDL. |
DatabaseConnection:: |
public | function | Returns a new DatabaseTransaction object on this connection. |
DatabaseConnection:: |
public | function | Tells this connection object what its target value is. |
DatabaseConnection:: |
public | function | Associates a logging object with this connection. |
DatabaseConnection:: |
public | function | Tells this connection object what its key is. |
DatabaseConnection:: |
public | function | Prepares and returns a SELECT query object. |
DatabaseConnection:: |
public | function | Returns a DatabaseSchema object for manipulating the schema. |
DatabaseConnection:: |
public | function | Provides a wrapper for the quote() function from the PDO object. |
DatabaseConnection:: |
public | function | Executes a query string against the database. |
DatabaseConnection:: |
public | function | Increases the depth of transaction nesting. |
DatabaseConnection:: |
public | function | Prepares a query string and returns the prepared statement. |
DatabaseConnection:: |
public | function | Provides a pass-through to the PDO prepare method. |
DatabaseConnection:: |
public | function | Appends a database prefix to all tables in a query. |
DatabaseConnection:: |
public | function | Decreases the depth of transaction nesting. |
DatabaseConnection:: |
public | function | Prepares and returns a MERGE query object. |
DatabaseConnection:: |
public | function | Creates the appropriate sequence name for a given table and serial field. |
DatabaseConnection:: |
public | function | Flatten an array of query comments into a single comment string. |
DatabaseConnection:: |
public | function | Determines if there is an active transaction open. |
DatabaseConnection:: |
public | function | Prepares and returns an INSERT query object. |
DatabaseConnection:: |
public | function | Returns the target this connection is associated with. |
DatabaseConnection:: |
public | function | Gets the current logging object for this connection. |
DatabaseConnection:: |
public | function | Returns the key this connection is associated with. |
DatabaseConnection:: |
public | function | Gets the driver-specific override class if any for the specified class. |
DatabaseConnection:: |
public | function | Returns the connection information for this connection object. |
DatabaseConnection:: |
protected | function | Generates a temporary table name. |
DatabaseConnection:: |
protected | function | Sanitize a query comment string. |
DatabaseConnection:: |
protected | function | Expands out shorthand placeholders. |
DatabaseConnection:: |
public | function | Escapes a table name string. |
DatabaseConnection:: |
public | function | Escapes characters that work as wildcard characters in a LIKE pattern. |
DatabaseConnection:: |
public | function | Destroys this Connection object. |
DatabaseConnection:: |
public | function | Prepares and returns a DELETE query object. |
DatabaseConnection:: |
protected | function | Returns the default query options for any given query. |
DatabaseConnection:: |
public | function | Throws an exception to deny direct access to transaction commits. |
DatabaseConnection:: |
protected | property | Whether this database connection supports transactions. |
DatabaseConnection:: |
protected | property | Tracks the number of "layers" of transactions currently active. |
DatabaseConnection:: |
protected | property | Whether this database connection supports transactional DDL. |
DatabaseConnection:: |
protected | property | An index used to generate unique temporary table names. |
DatabaseConnection:: |
protected | property | The database target this connection is for. |
DatabaseConnection:: |
protected | property | The name of the Statement class for this connection. |
DatabaseConnection:: |
protected | property | The schema object for this connection. |
DatabaseConnection:: |
protected | property | List of search values for use in prefixTables(). |
DatabaseConnection:: |
protected | property | List of replacement values for use in prefixTables(). |
DatabaseConnection:: |
protected | property | The prefixes used by this database connection. |
DatabaseConnection:: |
protected | property | The PDO object that is used for running database queries. |
DatabaseConnection:: |
protected | property | The current database logging object for this connection. |
DatabaseConnection:: |
protected | property | The key representing this connection. |
DatabaseConnection:: |
protected | property | List of escaped database, table, and field names, keyed by unescaped names. |
DatabaseConnection:: |
protected | property | List of escaped aliases names, keyed by unescaped aliases. |
DatabaseConnection:: |
protected | property | Index of what driver-specific class to use for various operations. |
DatabaseConnection:: |
protected | property | The connection information for this connection object. |