You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message:'#^Method Psr\\Log\\AbstractLogger@anonymous/src/Command/LoadDataFixturesDoctrineODMCommand\.php\:88\:\:log\(\) has parameter \$message with no type specified\.$#'
@@ -38,6 +42,7 @@ protected function configure(): void
38
42
->addOption('group', null, InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Only load fixtures that belong to this group (use with --services)')
39
43
->addOption('append', null, InputOption::VALUE_NONE, 'Append the data fixtures instead of flushing the database first.')
40
44
->addOption('dm', null, InputOption::VALUE_REQUIRED, 'The document manager to use for this command.')
45
+
->addOption('purge-with-delete', null, InputOption::VALUE_NONE, 'Purge the database using deleteMany() instead of dropping and recreating the collections.')
41
46
->setHelp(<<<'EOT'
42
47
The <info>doctrine:mongodb:fixtures:load</info> command loads data fixtures from your application:
43
48
@@ -50,13 +55,19 @@ protected function configure(): void
50
55
You can also choose to load only fixtures that live in a certain group:
If the collection uses search indexes or encryption, you can use the <info>--purge-with-delete</info> option to keep the collections instead of dropping them when purging the database:
0 commit comments