Back to the topic of things which, unlike well-reasoned community advocacy, I can actually do well, I have been slowly constructing a blog entry that walks through the "polymorph.py" example I recently added. This example illustrates something that a few people asked for, which is the ability to make a single relation that loads multiple types of objects. A little bit of rubber-malleting around the code enabled a reasonable approach that uses UNIONS to be produced, which I think is more appropriate for loading distinct types of data in one query rather than a JOIN (but you could do it with a JOIN as well if you wanted).

anyway, the blog entry is at http://techspot.zzzeek.org/ . It would probably be helpful for everyone if I wrote more of these, but they are time-consuming to produce...hope you enjoy it.

- mike


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to