Reputation: 426
I want to import my database with Doctrine, so i followed the official doc here
and i used the command
php bin/console doctrine:mapping:import --force AppBundle xml
but with this command this is the entire base (all tables) was imported. I have many tables, a hundred, and i want use a filter with the command. How it is possible ? i search to import just few tables
Upvotes: 1
Views: 550
Reputation: 35983
try this please:
php bin/console doctrine:mapping:import --force AppBundle xml --filter="Yourtablename"
Upvotes: 1