]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
Add versioned_update_old_row example
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 7 Dec 2018 19:01:23 +0000 (14:01 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 7 Dec 2018 19:01:23 +0000 (14:01 -0500)
commit5851bf113821af6ce2e61484f103a44f4fabe430
treed26c26aaa89db42175b292d0b2835c2b1c3505e5
parentc89729cf67f441359da8289104050b01eb53160b
Add versioned_update_old_row example

A modification to the "turn UPDATE into INSERT" recipe that
also UPDATEs the previous row.  The example is using timestamps
to maintain a relationship between two objects.

Change-Id: Ifdb8ee73616190384263bbe88c71d9278d616f6b
examples/versioned_rows/versioned_update_old_row.py [new file with mode: 0644]