On 27 Lip, 05:45, "King Simon-NFHD78" <[EMAIL PROTECTED]> wrote:
> The problem is that when you run your last query, SA sees that there is
> still an existing T1 object (with the right primary key) in memory (both
> in the session and in your 'a1' and 'ra1' variables). It deliberately
> doesn't update them.
[cut]
> You may also be interested in the refresh/expire methods of session:
>
> http://www.sqlalchemy.org/docs/unitofwork.html#unitofwork_api_refreshexpire

Thanks. expire/refresh is good solution for my problem :)

Regards
Michal Nowikowski


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to