When using Castle ActiveRecord, how would you implement this query:
SELECT vote, COUNT(*) FROM VotesOnQuestions WHERE questionid = x GROUP BY vote
I would like to count all votes on a question, and group this by the vote value.
When using Castle ActiveRecord, how would you implement this query:
SELECT vote, COUNT(*) FROM VotesOnQuestions WHERE questionid = x GROUP BY vote
I would like to count all votes on a question, and group this by the vote value.