Search for connect
- Search 9.5.x for connect
- Search 8.9.x for connect
- Search 10.3.x for connect
- Search 11.x for connect
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ConnectionUnitTest | class | modules/ |
Tests management of database connections. |
ConnectionUnitTest::$key | property | modules/ |
|
ConnectionUnitTest::$monitor | property | modules/ |
|
ConnectionUnitTest::$originalCount | property | modules/ |
|
ConnectionUnitTest::$originalTarget | property | modules/ |
|
ConnectionUnitTest::$skipTest | property | modules/ |
|
ConnectionUnitTest::$target | property | modules/ |
|
ConnectionUnitTest::addConnection | function | modules/ |
Adds a new database connection info to Database. |
ConnectionUnitTest::assertConnection | function | modules/ |
Asserts that a connection ID exists. |
ConnectionUnitTest::assertNoConnection | function | modules/ |
Asserts that a connection ID does not exist. |
ConnectionUnitTest::getConnectionID | function | modules/ |
Returns the connection ID of the current test connection. |
ConnectionUnitTest::getInfo | function | modules/ |
|
ConnectionUnitTest::setUp | function | modules/ |
Sets up unit test environment. |
ConnectionUnitTest::testOpenClose | function | modules/ |
Tests Database::closeConnection() without query. |
ConnectionUnitTest::testOpenQueryClose | function | modules/ |
Tests Database::closeConnection() with a query. |
ConnectionUnitTest::testOpenQueryPrefetchClose | function | modules/ |
Tests Database::closeConnection() with a query and custom prefetch method. |
ConnectionUnitTest::testOpenSelectQueryClose | function | modules/ |
Tests Database::closeConnection() with a select query. |
Database::$connections | property | includes/ |
An nested array of all active connections. It is keyed by database name and target. |
Database::addConnectionInfo | function | includes/ |
Adds database connection information for a given key/target. |
Database::closeConnection | function | includes/ |
Closes a connection to the server specified by the given key and target. |
Database::getConnection | function | includes/ |
Gets the connection object for the specified database key and target. |
Database::getConnectionInfo | function | includes/ |
Gets information on the specified database connection. |
Database::isActiveConnection | function | includes/ |
Determines if there is an active connection. |
Database::openConnection | function | includes/ |
Opens a connection to the server specified by the given key and target. |
Database::parseConnectionInfo | function | includes/ |
Process the configuration file for database information. |
Database::removeConnection | function | includes/ |
Remove a connection and its corresponding connection information. |
Database::renameConnection | function | includes/ |
Rename a connection and its corresponding connection information. |
Database::setActiveConnection | function | includes/ |
Sets the active connection to the specified key. |
DatabaseConnection | class | includes/ |
Base Database API class. |
DatabaseConnection::$connection | property | includes/ |
The actual PDO connection. |
DatabaseConnection::$connectionOptions | property | includes/ |
The connection information for this connection object. |
DatabaseConnection::$driverClasses | property | includes/ |
Index of what driver-specific class to use for various operations. |
DatabaseConnection::$escapedAliases | property | includes/ |
List of escaped aliases names, keyed by unescaped aliases. |
DatabaseConnection::$escapedNames | property | includes/ |
List of escaped database, table, and field names, keyed by unescaped names. |
DatabaseConnection::$key | property | includes/ |
The key representing this connection. |
DatabaseConnection::$logger | property | includes/ |
The current database logging object for this connection. |
DatabaseConnection::$prefixes | property | includes/ |
The prefixes used by this database connection. |
DatabaseConnection::$prefixReplace | property | includes/ |
List of replacement values for use in prefixTables(). |
DatabaseConnection::$prefixSearch | property | includes/ |
List of search values for use in prefixTables(). |
DatabaseConnection::$schema | property | includes/ |
The schema object for this connection. |
DatabaseConnection::$statementClass | property | includes/ |
The name of the Statement class for this connection. |
DatabaseConnection::$target | property | includes/ |
The database target this connection is for. |
DatabaseConnection::$temporaryNameIndex | property | includes/ |
An index used to generate unique temporary table names. |
DatabaseConnection::$transactionalDDLSupport | property | includes/ |
Whether this database connection supports transactional DDL. |
DatabaseConnection::$transactionLayers | property | includes/ |
Tracks the number of "layers" of transactions currently active. |
DatabaseConnection::$transactionSupport | property | includes/ |
Whether this database connection supports transactions. |
DatabaseConnection::$unprefixedTablesMap | property | includes/ |
List of un-prefixed table names, keyed by prefixed table names. |
DatabaseConnection::commit | function | includes/ |
Throws an exception to deny direct access to transaction commits. |
DatabaseConnection::databaseType | function | includes/ |
Returns the name of the PDO driver for this connection. |
DatabaseConnection::defaultOptions | function | includes/ |
Returns the default query options for any given query. |
Pagination
- Page 1
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.