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 class core/lib/Drupal/Core/Database/Database.php Primary front-controller for the database system.
database service core/core.services.yml Drupal\Core\Database\Connection

All search results

Title Object type File name Summary
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.
DatabaseExceptionWrapperTest class core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests exceptions thrown by queries.
DatabaseExceptionWrapperTest class core/modules/mysqli/tests/src/Kernel/mysqli/DatabaseExceptionWrapperTest.php Tests exceptions thrown by queries.
DatabaseExceptionWrapperTest.php file core/modules/mysqli/tests/src/Kernel/mysqli/DatabaseExceptionWrapperTest.php
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::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::testPrepareStatementFailOnExecution function core/modules/mysqli/tests/src/Kernel/mysqli/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exception on execution.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparation function core/modules/mysqli/tests/src/Kernel/mysqli/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exceptions on preparation.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparation function core/modules/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exceptions on preparation.
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.
DatabaseFileUsageBackend.php file core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php
DatabaseFileUsageBackend::$connection property core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php The database connection used to store file usage information.
DatabaseFileUsageBackend::$tableName property core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php The name of the SQL table used to store file usage information.
DatabaseFileUsageBackend::add function core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php Records that a module is using a file.
DatabaseFileUsageBackend::delete function core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php Removes a record to indicate that a module is no longer using a file.
DatabaseFileUsageBackend::listUsage function core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php Determines where a file is used.
DatabaseFileUsageBackend::__construct function core/modules/file/src/FileUsage/DatabaseFileUsageBackend.php Construct the DatabaseFileUsageBackend.
DatabaseLockBackend class core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Provides a proxy class for \Drupal\Core\Lock\DatabaseLockBackend.
DatabaseLockBackend class core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Defines the database lock backend. This is the default backend in Drupal.
DatabaseLockBackend.php file core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php
DatabaseLockBackend.php file core/lib/Drupal/Core/Lock/DatabaseLockBackend.php
DatabaseLockBackend::$container property core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php The service container.
DatabaseLockBackend::$database property core/lib/Drupal/Core/Lock/DatabaseLockBackend.php The database connection.
DatabaseLockBackend::$drupalProxyOriginalServiceId property core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php The id of the original proxied service.
DatabaseLockBackend::$service property core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php The real proxied service, after it was lazy loaded.
DatabaseLockBackend::acquire function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Acquires a lock.

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