Hi,

I have a problem where three tables are linked via relationships A -> B -> 
C, and all the relationships refer to the same property i.e. the primary 
key (PK) of table A is a foreign key (FK) in the table B, and the same FK 
(table B) is a FK in the table C. The example is artificial since I am 
trying to simplify the schema. However, when I modify the PK of A only B 
sees the change after flush. I would expect  table C to get updated as well.

The problem and the code is already posted here 
<http://stackoverflow.com/questions/25107861/sqlalchemy-propagation-of-updates-across-multiple-linked-relationships>
.

I have a feeling this should be sth simple and documented but I had no luck 
so far.

Thanks for the help!


* I tested the code using SQLAlchemy 0.7.7 and 0.9.7; the DB is SQLite

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to