> 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.

You can do:

results = repository(:default).adapter.query("SELECT...")

You'll get back an array of open structs representing the returned data.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to datamapper@googlegroups.com
To unsubscribe from this group, send email to 
datamapper+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to