我正在关注 this guide对数据库进行逆向工程。该指南说它使用 paramters.yml
文件作为数据库参数,但我该如何覆盖它呢?我的 config.yml
中列出了多个连接,我希望能够选择其中之一。
最佳答案
使用 --em
参数指定您要使用的实体管理器。
doctrine:mapping:convert [--filter="..."] [--force] [--from-database] [--extend[="..."]] [--num-spaces[="..."]] [--namespace[="..."]] [--em[="..."]] to-type dest-path
关于symfony - 如何指定要进行逆向工程的数据库?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15436394/