synchronize_session='fetch' should, you know, 'fetch' the actual data

Issue #3992 new
Mike Bayer repo owner created an issue

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.

Comments (1)

  1. Mike Bayer reporter

    perhaps call the old way "select_and_expire", so that legacy cases who need the old behavior have an option.

  2. Log in to comment