Dear all,
i get the following traceback for "session.query().filter(sellers.c.name ==
'golrang').delete('sellers')" line:
///////////////////////////////////
Traceback (most recent call last):
File "/home/mohsen/codes/amlak/amlak/src/test.py", line 106, in <module>
session.query().filter(sellers.c.name == 'golrang').delete('sellers')
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/query.py", line
2580, in delete
self, synchronize_session)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py",
line 935, in factory
}, synchronize_session, query)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/orm/persistence.py",
line 809, in _factory
for x in lookup.keys()))))
sqlalchemy.exc.ArgumentError: Valid strategies for session synchronization
are 'evaluate', 'fetch', False
////////////////////////////////////
Where's problem?
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.