Hi Parsifal

these are the paginators that i am using

use DoctrineORMModule\Paginator\Adapter\DoctrinePaginator;
use Doctrine\ORM\Tools\Pagination\Paginator as ORMPaginator;

however

i really just want to use the getArrayResult.

i am a bit confused, which paginator can i use that will just get me the 
array result and that will also allow me to just select certain properties 
from the class?

thanks Parisfial 


 

On Monday, January 12, 2015 at 8:15:39 PM UTC, Parsifal wrote:
>
> I don't know which paginator you use, but probably you should run 
> getArrayResult on $qb and just pasd the array to paginator?
> Depends how your paginator works, if it needs object, use getResult() 
> instead.
>  

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to