开发者

In Symfony, How to iterate over the data returned by doSelect?

开发者 https://www.devze.com 2023-03-02 21:12 出处:网络
In Propel ( using in Symfony ), I am using the following: $data = ObjectPeer::doSelect($myCriteria); // $myCriteria is Criteria Object

In Propel ( using in Symfony ), I am using the following:

$data = ObjectPeer::doSelect($myCriteria); // $myCriteria is Criteria Object

开发者_JAVA技巧

How can I iterate over the $data?


I guess:

foreach ($data as $object)
0

精彩评论

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

关注公众号