[Sqlalchemy-tickets] Issue #3992: synchronize_session='fetch' should, you know, 'fetch' the actual
Brought to you by:
zzzeek
From: Michael B. <iss...@bi...> - 2017-05-15 17:02:40
|
New issue 3992: synchronize_session='fetch' should, you know, 'fetch' the actual data https://bitbucket.org/zzzeek/sqlalchemy/issues/3992/synchronize_session-fetch-should-you-know Michael Bayer: synchronize_session='fetch' currently runs the SELECT and then expires the objects. If we're running a SELECT, we should be fetching the actual keys that changed and populating, not expiring. perhaps we'd call this "eager_fetch" in case we're worried about side effects, but I think just switching "fetch" is fine, the term "fetch" implies something's being fetched. |