Search for database

  1. Search 7.x for database
  2. Search 9.5.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
DatabaseBackendTest::$maxRows property core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php The max rows to use for test bins.
DatabaseBackendTest::$modules property core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php Modules to enable.
DatabaseBackendTest::createCacheBackend function core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php Creates a new instance of DatabaseBackend.
DatabaseBackendTest::getNumRows function core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php Gets the number of rows in the test cache bin database table.
DatabaseBackendTest::testGarbageCollection function core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php Tests the row count limiting of cache bin database tables.
DatabaseBackendTest::testSetGet function core/tests/Drupal/KernelTests/Core/Cache/DatabaseBackendTest.php Tests the get and set methods of Drupal\Core\Cache\CacheBackendInterface.
DatabaseCacheTagsChecksum class core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php Cache tags invalidations checksum implementation that uses the database.
DatabaseCacheTagsChecksum.php file core/lib/Drupal/Core/Cache/DatabaseCacheTagsChecksum.php
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.
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/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests exceptions thrown by queries.
DatabaseExceptionWrapperTest.php file core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php
DatabaseExceptionWrapperTest::testPreparedStatement function core/tests/Drupal/KernelTests/Core/Database/DatabaseExceptionWrapperTest.php Tests the expected database exception thrown for prepared statements.
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.
DatabaseLegacyTest class core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Deprecation tests cases for the database layer.
DatabaseLegacyTest.php file core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php
DatabaseLegacyTest::$modules property core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php The modules to enable.
DatabaseLegacyTest::testDbAddField function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_add_field() function.
DatabaseLegacyTest::testDbAddIndex function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_add_index() function.
DatabaseLegacyTest::testDbAddPrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_add_primary_key() function.
DatabaseLegacyTest::testDbAddUniqueKey function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_add_unique_key() function.
DatabaseLegacyTest::testDbAnd function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_and() function.
DatabaseLegacyTest::testDbChangeField function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests the db_change_field() function is deprecated.
DatabaseLegacyTest::testDbClose function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests the db_close() function.
DatabaseLegacyTest::testDbCondition function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_condition() function.
DatabaseLegacyTest::testDbCreateTable function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_create_table() function.
DatabaseLegacyTest::testDbDelete function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_delete() function.
DatabaseLegacyTest::testDbDriver function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_driver() function.
DatabaseLegacyTest::testDbDropField function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_drop_field() function.
DatabaseLegacyTest::testDbDropIndex function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_drop_index() function.
DatabaseLegacyTest::testDbDropPrimaryKey function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests deprecation of the db_drop_primary_key() function.
DatabaseLegacyTest::testDbDropTable function core/tests/Drupal/KernelTests/Core/Database/DatabaseLegacyTest.php Tests the db_drop_table() function.

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