views:

5

answers:

1

In propel setPeerCountMethod is used to change the count query in pagination. Does anybody know its equivalent in doctrine?

A: 

nm I think I found it:

$pager->setCountQuery($query [, $params = null])

http://www.doctrine-project.org/documentation/manual/1_2/en/utilities:pagination

Ite Code