Michael Bayer wrote:
its not currently tracking mappers to tables, since you could have any number of mappers for a given table. a class' primary mapper is attainable, and you could also get the foreign key's mapper via the parent mapper ?

Project.mapper.props['employee'].mapper

not sure if that helps.

Thanks that does help. What's props though ? is that likely to change in future ?

Great product by the way. I've been waiting for such a beast like sqlalchemy for a very long time. Wrote my own mapper a very long time ago and have been using it since but have dropped it when I found sqlalchemy.

Huy


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to