Search for database

  1. Search 7.x for database
  2. Search 9.5.x for database
  3. Search 8.9.x for database
  4. Search 10.3.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
DatabaseDriverListTest.php file core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php
DatabaseDriverListTest::providerDatabaseDrivers function core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php Data provider for testLegacyGetFromDriverName().
DatabaseDriverListTest::testGet function core/tests/Drupal/Tests/Core/Extension/DatabaseDriverListTest.php @covers ::get[[api-linebreak]]
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/Extension/DatabaseDriverUninstallValidator.php Ensures installed modules providing a database driver are not uninstalled.
DatabaseDriverUninstallValidator.php file core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php
DatabaseDriverUninstallValidator::$connection property core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php The database connection.
DatabaseDriverUninstallValidator::$moduleExtensionList property core/lib/Drupal/Core/Extension/DatabaseDriverUninstallValidator.php The module extension list.
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/Extension/DatabaseDriverUninstallValidator.php Constructs a new DatabaseDriverUninstallValidator.
DatabaseEvent class core/lib/Drupal/Core/Database/Event/DatabaseEvent.php Represents a database event.
DatabaseEvent.php file core/lib/Drupal/Core/Database/Event/DatabaseEvent.php
DatabaseEvent::$time property core/lib/Drupal/Core/Database/Event/DatabaseEvent.php The time of the event.
DatabaseEvent::__construct function core/lib/Drupal/Core/Database/Event/DatabaseEvent.php Constructs a DatabaseEvent object.
DatabaseEventEnabler class core/modules/system/tests/modules/performance_test/src/DatabaseEventEnabler.php Enables database event logging for the main request.
DatabaseEventEnabler.php file core/modules/system/tests/modules/performance_test/src/DatabaseEventEnabler.php
DatabaseEventEnabler::handle function core/modules/system/tests/modules/performance_test/src/DatabaseEventEnabler.php
DatabaseEventEnabler::__construct function core/modules/system/tests/modules/performance_test/src/DatabaseEventEnabler.php
DatabaseEventsTest class core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php @coversDefaultClass \Drupal\Core\Database\Connection[[api-linebreak]]
DatabaseEventsTest.php file core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php
DatabaseEventsTest::$connection property core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php A database connection.
DatabaseEventsTest::setUp function core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php
DatabaseEventsTest::testDisableInvalidEvent function core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php @covers ::disableEvents[[api-linebreak]]
DatabaseEventsTest::testEnableInvalidEvent function core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php @covers ::enableEvents[[api-linebreak]]
DatabaseEventsTest::testEventDispatchingWhenNoContainerAvailable function core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php @covers ::dispatchEvent[[api-linebreak]]
DatabaseEventsTest::testEventEnablingAndDisabling function core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php @covers ::isEventEnabled[[api-linebreak]]
@covers ::enableEvents[[api-linebreak]]
@covers ::disableEvents[[api-linebreak]]
DatabaseEventSubscriber class core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php Responds to database API events.
DatabaseEventSubscriber.php file core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php
DatabaseEventSubscriber::$countStatementEnds property core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php A counter of finished statement executions.
DatabaseEventSubscriber::$countStatementFailures property core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php A counter of failed statement executions.
DatabaseEventSubscriber::$countStatementStarts property core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php A counter of started statement executions.
DatabaseEventSubscriber::$statementIdsInExecution property core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php A map of statements being executed.
DatabaseEventSubscriber::getSubscribedEvents function core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php
DatabaseEventSubscriber::onStatementExecutionEnd function core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php Subscribes to a statement execution finished event.
DatabaseEventSubscriber::onStatementExecutionFailure function core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php Subscribes to a statement execution failure event.
DatabaseEventSubscriber::onStatementExecutionStart function core/modules/system/tests/modules/database_test/src/EventSubscriber/DatabaseEventSubscriber.php Subscribes to a statement execution started event.
DatabaseEventTest class core/tests/Drupal/KernelTests/Core/Database/DatabaseEventTest.php Tests the database API events.
DatabaseEventTest.php file core/tests/Drupal/KernelTests/Core/Database/DatabaseEventTest.php
DatabaseEventTest::testStatementExecutionEvents function core/tests/Drupal/KernelTests/Core/Database/DatabaseEventTest.php Tests statement execution events.
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.

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