http://castleproject.org/activerecord/documentation/trunk/usersguide/nativesql.html
<http://castleproject.org/activerecord/documentation/trunk/usersguide/nativesql.html>
-Markus

2009/10/17 Chris Curvey <[email protected]>

>
> Sometimes, I just want to run SQL, with all it's warts and features.
> For example, I want to run this query against my database and just
> splatter the results on the page:
>
> select date(processed_date), count(*)
> from foobar
> group by date(processed_date)
> order by date(processed_date) desc;
>
> Can someone point me to the best way to go about doing this?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to