Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
Database::$activeKey property core/lib/Drupal/Core/Database/Database.php The key of the currently active database connection.
Database::$connections property core/lib/Drupal/Core/Database/Database.php An nested array of all active connections. It is keyed by database name
and target.
Database::$databaseInfo property core/lib/Drupal/Core/Database/Database.php A processed copy of the database connection information from settings.php.
Database::$ignoreTargets property core/lib/Drupal/Core/Database/Database.php A list of key/target credentials to simply ignore.
Database::$logs property core/lib/Drupal/Core/Database/Database.php An array of active query log objects.
Database::addConnectionInfo function core/lib/Drupal/Core/Database/Database.php Adds database connection information for a given key/target.
Database::closeConnection function core/lib/Drupal/Core/Database/Database.php Closes a connection to the server specified by the given key and target.
Database::convertDbUrlToConnectionInfo function core/lib/Drupal/Core/Database/Database.php Converts a URL to a database connection info array.
Database::findDriverAutoloadDirectory function core/lib/Drupal/Core/Database/Database.php Finds the directory to add to the autoloader for the driver's namespace.
Database::getAllConnectionInfo function core/lib/Drupal/Core/Database/Database.php Gets connection information for all available databases.
Database::getConnection function core/lib/Drupal/Core/Database/Database.php Gets the connection object for the specified database key and target.
Database::getConnectionInfo function core/lib/Drupal/Core/Database/Database.php Gets information on the specified database connection.
Database::getConnectionInfoAsUrl function core/lib/Drupal/Core/Database/Database.php Gets database connection info as a URL.
Database::getDatabaseDriverNamespace function core/lib/Drupal/Core/Database/Database.php Gets the PHP namespace of a database driver from the connection info.
Database::getLog function core/lib/Drupal/Core/Database/Database.php Retrieves the queries logged on for given logging key.
Database::ignoreTarget function core/lib/Drupal/Core/Database/Database.php Instructs the system to temporarily ignore a given key/target.
Database::isActiveConnection function core/lib/Drupal/Core/Database/Database.php Determines if there is an active connection.
Database::isWithinModuleNamespace function core/lib/Drupal/Core/Database/Database.php Checks whether a namespace is within the namespace of a Drupal module.
Database::openConnection function core/lib/Drupal/Core/Database/Database.php Opens a connection to the server specified by the given key and target.
Database::parseConnectionInfo function core/lib/Drupal/Core/Database/Database.php Process the configuration file for database information.
Database::removeConnection function core/lib/Drupal/Core/Database/Database.php Remove a connection and its corresponding connection information.
Database::renameConnection function core/lib/Drupal/Core/Database/Database.php Rename a connection and its corresponding connection information.
Database::RETURN_AFFECTED constant core/lib/Drupal/Core/Database/Database.php Flag to indicate a query call should return the number of affected rows.
Database::RETURN_INSERT_ID constant core/lib/Drupal/Core/Database/Database.php Flag to indicate a query call should return the "last insert id".
Database::RETURN_NULL constant core/lib/Drupal/Core/Database/Database.php Flag to indicate a query call should simply return NULL.
Database::RETURN_STATEMENT constant core/lib/Drupal/Core/Database/Database.php Flag to indicate a query call should return the prepared statement.
Database::setActiveConnection function core/lib/Drupal/Core/Database/Database.php Sets the active connection to the specified key.
Database::setMultipleConnectionInfo function core/lib/Drupal/Core/Database/Database.php Sets connection information for multiple databases.
Database::startLog function core/lib/Drupal/Core/Database/Database.php Starts logging a given logging key on the specified connection.
DatabaseAccessDeniedException class core/lib/Drupal/Core/Database/DatabaseAccessDeniedException.php Exception thrown if access credentials fail.
DatabaseAccessDeniedException.php file core/lib/Drupal/Core/Database/DatabaseAccessDeniedException.php
DatabaseBackend class core/lib/Drupal/Core/Flood/DatabaseBackend.php Defines the database flood backend. This is the default Drupal backend.
DatabaseBackend class core/lib/Drupal/Core/Cache/DatabaseBackend.php Defines a default cache implementation.
DatabaseBackend.php file core/lib/Drupal/Core/Cache/DatabaseBackend.php
DatabaseBackend.php file core/lib/Drupal/Core/Flood/DatabaseBackend.php
DatabaseBackend::$bin property core/lib/Drupal/Core/Cache/DatabaseBackend.php
DatabaseBackend::$checksumProvider property core/lib/Drupal/Core/Cache/DatabaseBackend.php The cache tags checksum provider.
DatabaseBackend::$connection property core/lib/Drupal/Core/Cache/DatabaseBackend.php The database connection.
DatabaseBackend::$connection property core/lib/Drupal/Core/Flood/DatabaseBackend.php The database connection used to store flood event information.
DatabaseBackend::$maxRows property core/lib/Drupal/Core/Cache/DatabaseBackend.php The maximum number of rows that this cache bin table is allowed to store.
DatabaseBackend::$requestStack property core/lib/Drupal/Core/Flood/DatabaseBackend.php The request stack.
DatabaseBackend::catchException function core/lib/Drupal/Core/Flood/DatabaseBackend.php Act on an exception when flood might be stale.
DatabaseBackend::catchException function core/lib/Drupal/Core/Cache/DatabaseBackend.php Act on an exception when cache might be stale.
DatabaseBackend::clear function core/lib/Drupal/Core/Flood/DatabaseBackend.php Makes the flood control mechanism forget an event for the current visitor.
DatabaseBackend::DEFAULT_MAX_ROWS constant core/lib/Drupal/Core/Cache/DatabaseBackend.php The default maximum number of rows that this cache bin table can store.
DatabaseBackend::delete function core/lib/Drupal/Core/Cache/DatabaseBackend.php Deletes an item from the cache.
DatabaseBackend::deleteAll function core/lib/Drupal/Core/Cache/DatabaseBackend.php Deletes all cache items in a bin.
DatabaseBackend::deleteMultiple function core/lib/Drupal/Core/Cache/DatabaseBackend.php Deletes multiple items from the cache.
DatabaseBackend::doInsert function core/lib/Drupal/Core/Flood/DatabaseBackend.php Inserts an event into the flood table
DatabaseBackend::doSetMultiple function core/lib/Drupal/Core/Cache/DatabaseBackend.php Stores multiple items in the persistent cache.

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