- Added kw argument 'doc' to all mapper property callables
as well as Column(). Will assemble the string 'doc' as
the '__doc__' attribute on the descriptor.
+
+ - Usage of version_id_col on a backend that supports
+ cursor.rowcount for execute() but not executemany() now works
+ when a delete is issued (already worked for saves, since those
+ don't use executemany()). For a backend that doesn't support
+ cursor.rowcount at all, a warning is emitted the same
+ as with saves. [ticket:1761]
- sql
- Restored some bind-labeling logic from 0.5 which ensures
s1.delete(f1)
s1.delete(f2)
- if testing.db.dialect.supports_sane_multi_rowcount:
+ if testing.db.dialect.supports_sane_rowcount:
assert_raises(sa.orm.exc.ConcurrentModificationError, s1.commit)
else:
s1.commit()