Now on 0.4.8.
And it is just not working.

My "copy" method is flawed. Don't use it. The innards of sqlalchemy
are just too complicated to mess around with.

As for the cascade option. It also doesn't work. I have the following:

mapper(History, history_table, properties = dict(
    user = relation(User, backref = 'history', cascade='save-
update')))

And still, after I merge user back into session, the history is also
merged.
I test this by issuing:

print user.history

This prints the data but doesn't SELECT from database.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to