gpt4 book ai didi

symfony - 如何指定要进行逆向工程的数据库?

转载 作者:行者123 更新时间:2023-12-01 10:01:36 25 4
gpt4 key购买 nike

我正在关注 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com