如何执行propel查询?
例如:
$c = new Criteria();
$c->add(AuthorPeer::NAME, $name);我知道Doctrine方法是execute(),但是使用propel?
问候
哈维
发布于 2010-09-29 23:48:29
$c = new Criteria();
$c->add(AuthorPeer::NAME, $name);
$result = AuthorPeer::doSelect($c);有关更多详细信息,请参阅reference。
或者用于可迭代集合方式(Propel 1.5+)的see this。
https://stackoverflow.com/questions/3823286
复制相似问题