Propel 1.6 如何在 symfony2 中自动生成 Base/Peer/Query 模型 类
Propel 1.6 How to autogenerate Base/Peer/Query model classes in symfony2
我是 Propel1.6 的新手,我想知道如何使用命令行在我的模型中生成 Base/Peer/Query 类。我怎么做?或者有人可以指出我正确的方向。非常感谢
我完成了运行
app/console propel:build
生成一个sql文件,然后
app/console propel:model:build
构建模型类(基础、对等、查询)和
app/console propel:sql:insert --force
生成 mysql 个表
我是 Propel1.6 的新手,我想知道如何使用命令行在我的模型中生成 Base/Peer/Query 类。我怎么做?或者有人可以指出我正确的方向。非常感谢
我完成了运行
app/console propel:build
生成一个sql文件,然后
app/console propel:model:build
构建模型类(基础、对等、查询)和
app/console propel:sql:insert --force
生成 mysql 个表