heroku/databasedotcom — pull request #23 by zoomzoom83 (2011-10-21 07:47:20+00:00)
Title: Relationship Query Support

I've implemented support for Relationship queries. This will allow you to do a query such as

SELECT Id, FirstName, Account.Name FROM Contact

And access the data by fetching i.e.

contacts[0].Account.Name

You can also grab a reference to the Account object, and then pass it around as if you fetched it directly

contacts[0].Account

It works recursively, so you should be able to go as deep as SOQL supports.

I've implemented basic test coverage, and attempted to follow your coding style - but let me know if you'd prefer me to make any changes. I've also rebased off master, so it should be an easy merge.