1. diana clarke
  2. sqlalchemy-2450

Commits

Mike Bayer  committed 469da64

this falls back to "expire" in any case since concat_op is not supported by the evaluator

  • Participants
  • Parent commits 774947b
  • Branches default

Comments (0)

Files changed (1)

File test/orm/query.py

View file
         sess = create_session(bind=testing.db, autocommit=False)
 
         foo,bar,baz = sess.query(Document).order_by(Document.id).all()
-        sess.query(Document).filter(Document.user_id == 1).update({'title': Document.title+Document.title}, synchronize_session='evaluate')
+        sess.query(Document).filter(Document.user_id == 1).update({'title': Document.title+Document.title}, synchronize_session='expire')
 
         eq_([foo.title, bar.title, baz.title], ['foofoo','barbar', 'baz'])
         eq_(sess.query(Document.title).order_by(Document.id).all(), zip(['foofoo','barbar', 'baz']))