You are here

protected property DbDumpCommand::$excludeTables in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Command/DbDumpCommand.php \Drupal\Core\Command\DbDumpCommand::excludeTables
  2. 9 core/lib/Drupal/Core/Command/DbDumpCommand.php \Drupal\Core\Command\DbDumpCommand::excludeTables

An array of table patterns to exclude completely.

This excludes any lingering tables generated during test runs.

Type: array

File

core/lib/Drupal/Core/Command/DbDumpCommand.php, line 36

Class

DbDumpCommand
Provides a command to dump the current database to a script.

Namespace

Drupal\Core\Command

Code

protected $excludeTables = [
  'test[0-9]+',
];