开发者

How to convert the SQLs of the symfony development bar to the MySQL SQLs?

How to convert the SQLs of the sym开发者_如何学Pythonfony development bar to the MySQL SQLs? I'm using propel.


Your question is unclear, but if what you want is to what what SQL code your propel objects are generating for MySQL, try something like this

$c = new Criteria();
$c->add(....);
$c->addJoin(...);
etc

to see the code generated, you call

echo $c->toString();
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜