1
vote
1answer
50 views

How to optimize the pagination query?

This is completely optimization question, I have a pagination query like that $this->paginate = array( 'fields' => array( 'DISTINCT Contact.contact_id', ...
0
votes
2answers
70 views

methods in the class so close in what they do

I have this class that has these two methods that are so closely related to the each other. I do not want to pass the flags so I kept them separate. I was wondering if there is a way to rewrite it so ...