Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
DbCommandBase class core/lib/Drupal/Core/Command/DbCommandBase.php Base command that abstracts handling of database connection arguments.
DbCommandBase.php file core/lib/Drupal/Core/Command/DbCommandBase.php
DbCommandBase::configure function core/lib/Drupal/Core/Command/DbCommandBase.php
DbCommandBase::getDatabaseConnection function core/lib/Drupal/Core/Command/DbCommandBase.php Parse input options decide on a database.
DbCommandBaseTest class core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Test that the DbToolsApplication works correctly.
DbCommandBaseTest.php file core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
DbCommandBaseTest::testPrefix function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Tests specifying a prefix for different connections.
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.
DbCommandBaseTest::testSpecifyDbUrl function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Tests supplying database connection as a URL.
DbCommandBaseTester class core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php Concrete command implementation for testing base features.
DbCommandBaseTester::configure function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
DbCommandBaseTester::execute function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
DbCommandBaseTester::getDatabaseConnection function core/modules/system/tests/src/Kernel/Scripts/DbCommandBaseTest.php
DbDumpApplication class core/lib/Drupal/Core/Command/DbDumpApplication.php Provides a command to dump a database generation script.
DbDumpApplication.php file core/lib/Drupal/Core/Command/DbDumpApplication.php
DbDumpApplication::getCommandName function core/lib/Drupal/Core/Command/DbDumpApplication.php
DbDumpApplication::getDefaultCommands function core/lib/Drupal/Core/Command/DbDumpApplication.php
DbDumpApplication::getDefinition function core/lib/Drupal/Core/Command/DbDumpApplication.php Overridden so the application doesn't expect the command name as the first
argument.
DbDumpCommand class core/lib/Drupal/Core/Command/DbDumpCommand.php Provides a command to dump the current database to a script.
DbDumpCommand.php file core/lib/Drupal/Core/Command/DbDumpCommand.php
DbDumpCommand::$excludeTables property core/lib/Drupal/Core/Command/DbDumpCommand.php An array of table patterns to exclude completely.
DbDumpCommand::configure function core/lib/Drupal/Core/Command/DbDumpCommand.php
DbDumpCommand::execute function core/lib/Drupal/Core/Command/DbDumpCommand.php
DbDumpCommand::fieldSizeMap function core/lib/Drupal/Core/Command/DbDumpCommand.php Given a database field type, return a Drupal size.
DbDumpCommand::fieldTypeMap function core/lib/Drupal/Core/Command/DbDumpCommand.php Given a database field type, return a Drupal type.
DbDumpCommand::generateScript function core/lib/Drupal/Core/Command/DbDumpCommand.php Generates the database script.
DbDumpCommand::getFieldOrder function core/lib/Drupal/Core/Command/DbDumpCommand.php Gets field ordering for a given table.
DbDumpCommand::getTableCollation function core/lib/Drupal/Core/Command/DbDumpCommand.php Set the table collation.
DbDumpCommand::getTableData function core/lib/Drupal/Core/Command/DbDumpCommand.php Gets all data from a given table.
DbDumpCommand::getTableIndexes function core/lib/Drupal/Core/Command/DbDumpCommand.php Adds primary key, unique keys, and index information to the schema.
DbDumpCommand::getTables function core/lib/Drupal/Core/Command/DbDumpCommand.php Returns a list of tables, not including those set to be excluded.
DbDumpCommand::getTableSchema function core/lib/Drupal/Core/Command/DbDumpCommand.php Returns a schema array for a given table.
DbDumpCommand::getTableScript function core/lib/Drupal/Core/Command/DbDumpCommand.php The part of the script for each table.
DbDumpCommand::getTemplate function core/lib/Drupal/Core/Command/DbDumpCommand.php The script template.
DbDumpCommandTest class core/modules/mysql/tests/src/Kernel/mysql/Console/DbDumpCommandTest.php Test that the DbDumpCommand works correctly.
DbDumpCommandTest.php file core/modules/mysql/tests/src/Kernel/mysql/Console/DbDumpCommandTest.php
DbDumpCommandTest::$modules property core/modules/mysql/tests/src/Kernel/mysql/Console/DbDumpCommandTest.php
DbDumpCommandTest::setUp function core/modules/mysql/tests/src/Kernel/mysql/Console/DbDumpCommandTest.php
DbDumpCommandTest::testDbDumpCommand function core/modules/mysql/tests/src/Kernel/mysql/Console/DbDumpCommandTest.php Tests the command directly.
DbDumpCommandTest::testInsertCount function core/modules/mysql/tests/src/Kernel/mysql/Console/DbDumpCommandTest.php Tests insert count option.
DbDumpCommandTest::testSchemaOnly function core/modules/mysql/tests/src/Kernel/mysql/Console/DbDumpCommandTest.php Tests schema only option.
DbDumpTest class core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php Tests for the database dump commands.
DbDumpTest.php file core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php
DbDumpTest::$data property core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php Test data to write into config.
DbDumpTest::$modules property core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php
DbDumpTest::$originalTableIndexes property core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php An array of original table indexes (including primary and unique keys).
DbDumpTest::$originalTableSchemas property core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php An array of original table schemas.
DbDumpTest::$tables property core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php Tables that should be part of the exported script.
DbDumpTest::getTableIndexes function core/modules/mysql/tests/src/Kernel/mysql/DbDumpTest.php Returns indexes for a given table.

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