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
DatabaseTestBase::$modules property core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php Modules to install.
DatabaseTestBase::$modules property core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php Modules to install.
DatabaseTestBase::ensureSampleDataNull function core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php Sets up tables for NULL handling.
DatabaseTestBase::setUp function core/modules/system/tests/src/Functional/Database/DatabaseTestBase.php
DatabaseTestBase::setUp function core/tests/Drupal/KernelTests/Core/Database/DatabaseTestBase.php
DatabaseTestController class core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php Controller routines for database_test routes.
DatabaseTestController.php file core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php
DatabaseTestController::$connection property core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php The database connection.
DatabaseTestController::create function core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php Instantiates a new instance of the implementing class using autowiring.
DatabaseTestController::pagerQueryEven function core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php Runs a pager query and returns the results.
DatabaseTestController::pagerQueryOdd function core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php Runs a pager query and returns the results.
DatabaseTestController::testTablesort function core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php Runs a tablesort query and returns the results.
DatabaseTestController::testTablesortFirst function core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php Runs a tablesort query with a second order_by after and returns the results.
DatabaseTestController::__construct function core/modules/system/tests/modules/database_test/src/Controller/DatabaseTestController.php Constructs a DatabaseTestController object.
DatabaseTestForm class core/modules/system/tests/modules/database_test/src/Form/DatabaseTestForm.php Form controller for database_test module.
DatabaseTestForm.php file core/modules/system/tests/modules/database_test/src/Form/DatabaseTestForm.php
DatabaseTestForm::buildForm function core/modules/system/tests/modules/database_test/src/Form/DatabaseTestForm.php Form constructor.
DatabaseTestForm::getFormId function core/modules/system/tests/modules/database_test/src/Form/DatabaseTestForm.php Returns a unique string identifying the form.
DatabaseTestForm::submitForm function core/modules/system/tests/modules/database_test/src/Form/DatabaseTestForm.php Form submission handler.
DatabaseTestHooks class core/modules/system/tests/modules/database_test/src/Hook/DatabaseTestHooks.php Hook implementations for database_test.
DatabaseTestHooks.php file core/modules/system/tests/modules/database_test/src/Hook/DatabaseTestHooks.php
DatabaseTestHooks::queryAlter function core/modules/system/tests/modules/database_test/src/Hook/DatabaseTestHooks.php Implements hook_query_alter().
DatabaseTestHooks::queryDatabaseTestAlterRemoveRangeAlter function core/modules/system/tests/modules/database_test/src/Hook/DatabaseTestHooks.php Implements hook_query_TAG_alter().
DatabaseTestSchemaDataTrait trait core/tests/Drupal/KernelTests/Core/Database/DatabaseTestSchemaDataTrait.php Trait to manage data samples for test tables.
DatabaseTestSchemaDataTrait.php file core/tests/Drupal/KernelTests/Core/Database/DatabaseTestSchemaDataTrait.php
DatabaseTestSchemaDataTrait::addSampleData function core/tests/Drupal/KernelTests/Core/Database/DatabaseTestSchemaDataTrait.php Sets up our sample data.
DatabaseTestSchemaInstallTrait trait core/tests/Drupal/KernelTests/Core/Database/DatabaseTestSchemaInstallTrait.php Trait to manage installation for test tables.
DatabaseTestSchemaInstallTrait.php file core/tests/Drupal/KernelTests/Core/Database/DatabaseTestSchemaInstallTrait.php
DatabaseTestSchemaInstallTrait::installSampleSchema function core/tests/Drupal/KernelTests/Core/Database/DatabaseTestSchemaInstallTrait.php Sets up our sample table schema.
database_driver_uninstall_validator service core/core.services.yml Drupal\Core\Extension\DatabaseDriverUninstallValidator
database_test.info.yml file core/modules/system/tests/modules/database_test/database_test.info.yml core/modules/system/tests/modules/database_test/database_test.info.yml
database_test.install file core/modules/system/tests/modules/database_test/database_test.install
database_test.routing.yml file core/modules/system/tests/modules/database_test/database_test.routing.yml core/modules/system/tests/modules/database_test/database_test.routing.yml
database_test.services.yml file core/modules/system/tests/modules/database_test/database_test.services.yml core/modules/system/tests/modules/database_test/database_test.services.yml
database_test_schema function core/modules/system/tests/modules/database_test/database_test.install Implements hook_schema().
DbCommandBase::getDatabaseConnection function core/lib/Drupal/Core/Command/DbCommandBase.php Parse input options decide on a database.
DbCommandBaseTest::testSpecifyDatabaseDoesNotExist function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Invalid database names will throw a useful exception.
DbCommandBaseTest::testSpecifyDatabaseKey function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Tests specifying a database key.
DbCommandBaseTester::getDatabaseConnection function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Parse input options decide on a database.
DbLogController::$database property core/modules/dblog/src/Controller/DbLogController.php The database service.
DriverSpecificDatabaseTestBase class core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php Base class for driver specific database tests.
DriverSpecificDatabaseTestBase.php file core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php
DriverSpecificDatabaseTestBase::$modules property core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php Modules to install.
DriverSpecificDatabaseTestBase::setUp function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificDatabaseTestBase.php
DriverSpecificTransactionTestBase::testRollbackAfterDdlStatementForNonTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests rollback after a DDL statement when no transactional DDL supported.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackCalledAfterDdlAndRollbackForTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests post-transaction rollback executes after a DDL statement.
DriverSpecificTransactionTestBase::testRootTransactionEndCallbackFailureUponDdlAndRollbackForNonTransactionalDdlDatabase function core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php Tests post-transaction rollback failure after a DDL statement.
drupal-7.contact.database.php file core/modules/contact/tests/drupal-7.contact.database.php
Drupal6SqlBaseTest::$databaseContents property core/modules/migrate_drupal/tests/src/Unit/source/d6/Drupal6SqlBaseTest.php Minimum database contents needed to test Drupal6SqlBase.
Drupal::database function core/lib/Drupal.php Returns the current primary database.

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