Tuesday, April 27, 2010

Re: Containable pagination query

Your not going to have a massive amount of joy with running
calculations of this nature on the fly so I would be looking at
counterCache and possibly implementing your own afterSave/Delete
callback methods to add COUNT and SUM values direct into your tables
that you can then easily group and order your values by.

HTH

Paul

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: