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
StringDatabaseStorage::dbStringLoad function core/modules/locale/src/StringDatabaseStorage.php Loads multiple string objects.
StringDatabaseStorage::dbStringSelect function core/modules/locale/src/StringDatabaseStorage.php Builds a SELECT query with multiple conditions and fields.
StringDatabaseStorage::dbStringTable function core/modules/locale/src/StringDatabaseStorage.php Gets table name for storing string object.
StringDatabaseStorage::dbStringUpdate function core/modules/locale/src/StringDatabaseStorage.php Updates string object in the database.
StringDatabaseStorage::delete function core/modules/locale/src/StringDatabaseStorage.php Delete string from storage.
StringDatabaseStorage::deleteStrings function core/modules/locale/src/StringDatabaseStorage.php Deletes source strings and translations using conditions.
StringDatabaseStorage::deleteTranslations function core/modules/locale/src/StringDatabaseStorage.php Deletes translations using conditions.
StringDatabaseStorage::findString function core/modules/locale/src/StringDatabaseStorage.php Loads a string source object, fast query.
StringDatabaseStorage::findTranslation function core/modules/locale/src/StringDatabaseStorage.php Loads a string translation object, fast query.
StringDatabaseStorage::getLocations function core/modules/locale/src/StringDatabaseStorage.php Loads string location information.
StringDatabaseStorage::getStrings function core/modules/locale/src/StringDatabaseStorage.php Loads multiple source string objects.
StringDatabaseStorage::getTranslations function core/modules/locale/src/StringDatabaseStorage.php Loads multiple string translation objects.
StringDatabaseStorage::save function core/modules/locale/src/StringDatabaseStorage.php Save string object to storage.
StringDatabaseStorage::updateLocation function core/modules/locale/src/StringDatabaseStorage.php Update locations for string.
StringDatabaseStorage::__construct function core/modules/locale/src/StringDatabaseStorage.php Constructs a new StringDatabaseStorage class.
StubConnection::createDatabase function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Creates a database.
StubConnection::databaseType function core/tests/Drupal/Tests/Core/Database/Stub/StubConnection.php Returns the name of the database engine accessed by this driver.
system_post_update_enable_provider_database_driver function core/modules/system/system.post_update.php Enable the modules that are providing the listed database drivers.
Tasks::initializeDatabase function core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php Make PostgreSQL Drupal friendly.
Tasks::validateDatabaseSettings function core/lib/Drupal/Core/Database/Install/Tasks.php Validates driver specific configuration settings.
TempStoreDatabaseTest class core/tests/Drupal/KernelTests/Core/TempStore/TempStoreDatabaseTest.php Tests the temporary object storage system.
TempStoreDatabaseTest.php file core/tests/Drupal/KernelTests/Core/TempStore/TempStoreDatabaseTest.php
TempStoreDatabaseTest::testSharedTempStore function core/tests/Drupal/KernelTests/Core/TempStore/TempStoreDatabaseTest.php Tests the SharedTempStore API.
TestDatabase class core/lib/Drupal/Core/Test/TestDatabase.php Provides helper methods for interacting with the fixture database.
TestDatabase.php file core/lib/Drupal/Core/Test/TestDatabase.php
TestDatabase::$databasePrefix property core/lib/Drupal/Core/Test/TestDatabase.php The test database prefix.
TestDatabase::$lockId property core/lib/Drupal/Core/Test/TestDatabase.php The test lock ID.
TestDatabase::getConnection function core/lib/Drupal/Core/Test/TestDatabase.php Returns the database connection to the site running Simpletest.
TestDatabase::getDatabasePrefix function core/lib/Drupal/Core/Test/TestDatabase.php Gets the test database prefix.
TestDatabase::getLockFile function core/lib/Drupal/Core/Test/TestDatabase.php Gets the lock file path.
TestDatabase::getTestLock function core/lib/Drupal/Core/Test/TestDatabase.php Generates a unique lock ID for the test method.
TestDatabase::getTestSitePath function core/lib/Drupal/Core/Test/TestDatabase.php Gets the relative path to the test site directory.
TestDatabase::insertAssert function core/lib/Drupal/Core/Test/TestDatabase.php Store an assertion from outside the testing context.
TestDatabase::lastTestGet function core/lib/Drupal/Core/Test/TestDatabase.php Get information about the last test that ran given a test ID.
TestDatabase::logRead function core/lib/Drupal/Core/Test/TestDatabase.php Reads the error log and reports any errors as assertion failures.
TestDatabase::processPhpUnitResults function core/lib/Drupal/Core/Test/TestDatabase.php Inserts the parsed PHPUnit results into {simpletest}.
TestDatabase::releaseAllTestLocks function core/lib/Drupal/Core/Test/TestDatabase.php Releases all test locks.
TestDatabase::releaseLock function core/lib/Drupal/Core/Test/TestDatabase.php Releases a lock.
TestDatabase::testingSchema function core/lib/Drupal/Core/Test/TestDatabase.php Defines the database schema for run-tests.sh and simpletest module.
TestDatabase::__construct function core/lib/Drupal/Core/Test/TestDatabase.php TestDatabase constructor.
TestDatabaseTest class core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @coversDefaultClass \Drupal\Core\Test\TestDatabase[[api-linebreak]]
TestDatabaseTest.php file core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php
TestDatabaseTest::providerTestConstructor function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php Data provider for self::testConstructor()
TestDatabaseTest::testConstructor function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @covers ::__construct[[api-linebreak]]
@covers ::getDatabasePrefix[[api-linebreak]]
@covers ::getTestSitePath[[api-linebreak]]
TestDatabaseTest::testConstructorException function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php @covers ::__construct[[api-linebreak]]
TestDatabaseTest::testConstructorNullPrefix function core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php Verify that a test lock is generated if there is no provided prefix.
TestDrupal6SqlBase::setDatabase function core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Tweaks Drupal6SqlBase to set a new database connection for tests.
TestDrupalSqlBase::setDatabase function core/modules/migrate_drupal/tests/src/Unit/source/DrupalSqlBaseTest.php Tweaks DrupalSqlBase to set a new database connection for tests.
TestSetupTrait::$databasePrefix property core/lib/Drupal/Core/Test/TestSetupTrait.php The database prefix of this test run.
TestSetupTrait::changeDatabasePrefix function core/lib/Drupal/Core/Test/TestSetupTrait.php Changes the database connection to the prefixed one.

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