thanks! really appreciate the help..

I can't pick out what I'm missing from the debug sql output...

SELECT count(*) AS num_votes, AVG(WikiRating.rating) AS avg_rating FROM
wiki_ratings AS WikiRating WHERE WikiRating.entry_id = {$__cakeID__$}
LIMIT 1

The above as the finderQuery doesn't work... yet if I take out the
count(*) it works fine (though missing count, which I'd like). So as
far as I can tell the aliasing is all OK, given that it works without
count(*). 

maybe I'm missing something apparent?


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Cake PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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