Hey,

does Cake give me a way to find out the number of records retrieved by
a find("all", array("limit" => 10));? It's basically what
SQL_CALC_FOUND_ROWS in combination with SELECT FOUND_ROWS does. Of
course i could make the same query twice, first a find("all") and then
a find("count") without the LIMIT clause, but that doesn't seem very
clever to me considering performance.
Is that mabye solved via query caching or sth like that? I'm unable to
find clues how to solve it anywhere :(

Thanks in advance!
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 [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to