I rely heavily on the version_id_col feature and I would like to be
able to either explicitly increment the version, or have the version
incremented when a relationship changes.  The issue here is that a
change in a relationship is a semantic change to the parent record and
should conflict with other changes to the record.

For example consider a timesheet record with a set of allowances and
an approved flag.  An administrator may approve a timesheet based on
the given allowances, but without extra locking there is a race
condition where the allowances could be updated between the
administrator viewing the timesheet and approving it.

Doable?

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to