Ok, I'm starting to think a seperate votes table is not the way to go.
Just votes_up and votes_down added to the sounds table might be
better, dropping the feature of knowing who voted for what. It's not
so interesting anyways, and there is a lot more to find about doing it
with one table, rather than with a seperate one.
I'm still curious though how one would perform such a multi-table
count-query with cakephp, but then again, maybe I should first be able
to make the sql-query, which I also don't have a clue about.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
Wednesday, April 29, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment