Search for connection

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.