- don't talk about "can't check for rows matched" here as we changed that in 0.9
Fixed ORM bug where changing the primary key of an object, then marking
it for DELETE would fail to target the correct row for DELETE.
- Note that we cannot currently check "number of rows matched" in general
- for DELETE statements as we can't be sure that a self-referential
- ON DELETE CASCADE has gotten there first.
.. change::
:tags: feature, postgresql
:tags: feature, orm
:tickets: 3007
- Added new parameter :paramref:`.mapper.confirm_deleted_rows`. Defaults
+ Added new parameter :paramref:`.orm.mapper.confirm_deleted_rows`. Defaults
to True, indicates that a series of DELETE statements should confirm
that the cursor rowcount matches the number of primary keys that should
have matched; this behavior had been taken off in most cases