I'm attempting to do something similar to the 'Lazy/Eager Joins Multiple Times
to One Table'
(http://www.sqlalchemy.org/docs/adv_datamapping.myt#adv_datamapping_relations_multiplejoin)
The difference being is that I'm adding a new address to the boston/new york
addresses, i.e. u.boston_addresses.append(Address(..from Boston)), but when
commit() is run it is failing because the foreign key of the new address (i.e.
user_id) has not been set. Before I go off and look at why, I thought I'd check
and see if this is the way it is intended to work or should these multi-joins be
read-only?
Robert
-------------------------------------------------------
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