[Sqlalchemy-tickets] [sqlalchemy] #1172: batch mode doesn't work for _delete_obj()
Brought to you by:
zzzeek
From: sqlalchemy <mi...@zz...> - 2008-09-18 14:35:24
|
#1172: batch mode doesn't work for _delete_obj() --------------------+------------------------------------------------------- Reporter: zzzeek | Owner: zzzeek Type: defect | Status: new Priority: medium | Milestone: 0.5.xx Component: orm | Severity: major - 1-3 hours Keywords: | Status_field: awaiting triage --------------------+------------------------------------------------------- I never thought I'd find a use for `batch=False` but since now I have (nested sets), we need it for the delete phase also. We might consider reorganizing `_save_obj()` and `_delete_obj()` to be simpler and more efficient with the "non batch" mode, now that its widely established that `executemany()` behavior is not possible in any of these cases. -- Ticket URL: <http://www.sqlalchemy.org/trac/ticket/1172> sqlalchemy <http://www.sqlalchemy.org/> The Database Toolkit for Python |