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
DatabaseExceptionWrapperTest class core/modules/mysqli/tests/src/Kernel/mysqli/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/modules/mysqli/tests/src/Kernel/mysqli/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/mysql/tests/src/Kernel/mysql/DatabaseExceptionWrapperTest.php Tests Connection::prepareStatement exceptions on preparation.
DatabaseExceptionWrapperTest::testPrepareStatementFailOnPreparation function core/modules/mysqli/tests/src/Kernel/mysqli/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.
DatabaseLockBackend::acquire function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Acquires a lock.
DatabaseLockBackend::catchException function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Act on an exception when semaphore might be stale.
DatabaseLockBackend::ensureTableExists function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Check if the semaphore table exists and create it if not.
DatabaseLockBackend::getLockId function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Gets the unique page token for locks.
DatabaseLockBackend::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Lazy loads the real service from the container.
DatabaseLockBackend::lockMayBeAvailable function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Checks if a lock is available for acquiring.
DatabaseLockBackend::lockMayBeAvailable function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Checks if a lock is available for acquiring.
DatabaseLockBackend::normalizeName function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Normalizes a lock name in order to comply with database limitations.
DatabaseLockBackend::release function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Releases the given lock.
DatabaseLockBackend::release function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Releases the given lock.
DatabaseLockBackend::releaseAll function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Releases all locks for the given lock token identifier.
DatabaseLockBackend::releaseAll function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Releases all locks for the given lock token identifier.
DatabaseLockBackend::schemaDefinition function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php
DatabaseLockBackend::schemaDefinition function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Defines the schema for the semaphore table.
DatabaseLockBackend::TABLE_NAME constant core/lib/Drupal/Core/Lock/DatabaseLockBackend.php The database table name.
DatabaseLockBackend::wait function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Waits a short amount of time before a second lock acquire attempt.
DatabaseLockBackend::__construct function core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php Constructs a ProxyClass Drupal proxy object.
DatabaseLockBackend::__construct function core/lib/Drupal/Core/Lock/DatabaseLockBackend.php Constructs a new DatabaseLockBackend.
DatabaseNotFoundException class core/lib/Drupal/Core/Database/DatabaseNotFoundException.php Exception thrown if specified database is not found.

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