Hi,

been working on a new app and I need to run a fairly complicated sql
query (fun) to return some data. The data does not conform directly to
any of the classes I have, and so using Class.find_by_sql doesn't make
any sense.

I've header rumour of a query method in datamapper, but can't find
anything about it, and a grep of the dm-core doesn't reveal any such
method.

Was wondering if anyone knows of such a method. Effectively I just
want an array of hashes containing the results, or something
equivalent....

any ideas?

Emma
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to