【doctrine/orm】findBy用法

版权声明:本文为博主原创文章,未经博主允许可以署名转载。 https://blog.csdn.net/qq_36110571/article/details/86234063

用法:

//$condition array 条件(not null)
//$orderBy array('表字段'=>'ASC/DESC')
//$count  int 结果数
$this->em->getRepository('className')->findBy($condition,$orderBy,$count);

猜你喜欢

转载自blog.csdn.net/qq_36110571/article/details/86234063
Orm
今日推荐