Search for database

  1. Search 7.x for database
  2. Search 8.9.x for database
  3. Search 10.3.x for database
  4. Search 11.x for database
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
database service core/core.services.yml Drupal\Core\Database\Connection
Database class core/lib/Drupal/Core/Database/Database.php Primary front-controller for the database system.

All search results

Title Object type File name Summary
DatabaseCacheTagsChecksum::$connection property core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php The database connection.
DatabaseCacheTagsChecksum::catchException function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Act on an exception when cache might be stale.
DatabaseCacheTagsChecksum::doInvalidateTags function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Marks cache items with any of the specified tags as invalid.
DatabaseCacheTagsChecksum::ensureTableExists function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Check if the cache tags table exists and create it if not.
DatabaseCacheTagsChecksum::getDatabaseConnection function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Returns the database connection.
DatabaseCacheTagsChecksum::getTagInvalidationCounts function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Fetches invalidation counts for cache tags.
DatabaseCacheTagsChecksum::schemaDefinition function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Defines the schema for the {cachetags} table.
DatabaseCacheTagsChecksum::__construct function core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Constructs a DatabaseCacheTagsChecksum object.
DatabaseDriverProvidedByModuleTest class core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php Tests output on the status overview page.
DatabaseDriverProvidedByModuleTest.php file core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php
DatabaseDriverProvidedByModuleTest::$defaultTheme property core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php The theme to install as the default for testing.
DatabaseDriverProvidedByModuleTest::setUp function core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php
DatabaseDriverProvidedByModuleTest::testDatabaseDriverIsProvidedByModuleButTheModuleIsNotEnabled function core/modules/system/tests/src/Functional/System/DatabaseDriverProvidedByModuleTest.php Tests that the status page shows the error message.
DatabaseDriverUninstallValidator class core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php Provides a proxy class for \Drupal\Core\Extension\DatabaseDriverUninstallValidator.
DatabaseDriverUninstallValidator class core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php Ensures installed modules providing a database driver are not uninstalled.
DatabaseDriverUninstallValidator.php file core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php
DatabaseDriverUninstallValidator.php file core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php
DatabaseDriverUninstallValidator::$connection property core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php The database connection.
DatabaseDriverUninstallValidator::$container property core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php The service container.
DatabaseDriverUninstallValidator::$drupalProxyOriginalServiceId property core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php The id of the original proxied service.
DatabaseDriverUninstallValidator::$moduleExtensionList property core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php The module extension list.
DatabaseDriverUninstallValidator::$service property core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php The real proxied service, after it was lazy loaded.
DatabaseDriverUninstallValidator::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php Lazy loads the real service from the container.
DatabaseDriverUninstallValidator::setStringTranslation function core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php
DatabaseDriverUninstallValidator::validate function core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php Determines the reasons a module can not be uninstalled.
DatabaseDriverUninstallValidator::validate function core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php Determines the reasons a module can not be uninstalled.
DatabaseDriverUninstallValidator::__construct function core/lib/Drupal/Core/ProxyClass/Extension/DatabaseDriverUninstallValidator.php Constructs a ProxyClass Drupal proxy object.
DatabaseDriverUninstallValidator::__construct function core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php Constructs a new DatabaseDriverUninstallValidator.
DatabaseException interface core/lib/Drupal/Core/Database/DatabaseException.php Interface for a database exception.
DatabaseException.php file core/lib/Drupal/Core/Database/DatabaseException.php
DatabaseExceptionWrapper class core/lib/Drupal/Core/Database/DatabaseExceptionWrapper.php This wrapper class serves only to provide additional debug information.
DatabaseExceptionWrapper.php file core/lib/Drupal/Core/Database/DatabaseExceptionWrapper.php
DatabaseExceptionWrapperTest class core/modules/sqlite/tests/src/Kernel/sqlite/DatabaseExceptionWrapperTest.php Tests exceptions thrown by queries.
DatabaseExceptionWrapperTest class core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests exceptions thrown by queries.
DatabaseExceptionWrapperTest class core/modules/pgsql/tests/src/Kernel/pgsql/DatabaseExceptionWrapperTest.php Tests exceptions thrown by queries.
DatabaseExceptionWrapperTest class core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests exceptions thrown by queries.
DatabaseExceptionWrapperTest.php file core/modules/sqlite/tests/src/Kernel/sqlite/DatabaseExceptionWrapperTest.php
DatabaseExceptionWrapperTest.php file core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php
DatabaseExceptionWrapperTest.php file core/modules/pgsql/tests/src/Kernel/pgsql/DatabaseExceptionWrapperTest.php
DatabaseExceptionWrapperTest.php file core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php
DatabaseExceptionWrapperTest::testHandleQueryExceptionDeprecation function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests deprecation of Connection::handleQueryException.
DatabaseExceptionWrapperTest::testPrepare function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests deprecation of Connection::prepare.
DatabaseExceptionWrapperTest::testPrepareQuery function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests deprecation of Connection::prepareQuery.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/sqlite/tests/src/Kernel/sqlite/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnExecution function core/modules/pgsql/tests/src/Kernel/pgsql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparation function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exceptions on preparation.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparationWithThrowExceptionOption function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement with throw_exception option set.
DatabaseExceptionWrapperTest::testQueryThrowsDatabaseExceptionWrapperException function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests the expected database exception thrown for inexistent tables.
DatabaseFileUsageBackend class core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php Defines the database file usage backend. This is the default Drupal backend.

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