Search for getConnection

  1. Search 9.5.x for getConnection
  2. Search 8.9.x for getConnection
  3. Search 10.3.x for getConnection
  4. Search 11.x for getConnection
  5. Other projects
Title Object type File name Summary
ConnectionUnitTest::getConnectionID function modules/simpletest/tests/database_test.test Returns the connection ID of the current test connection.
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.
DatabaseConnection::getConnectionOptions function includes/database/database.inc Returns the connection information for this connection object.

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