Is there a way to do left outer joins in Datamapper without having to
resort to talking to the data-store directly. I've been searching the
net and the Datamapper docu with not success on details how to do so.

For example:

SELECT p.user_id, p.description, u.user_name
FROM privileges p
LEFT OUTER JOIN users u ON (p.user_id = u.id)
WHERE p.description = "delete rights"

And let's say that I have a User class and a Privilege class too.


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