From: Mike Bayer Date: Sat, 27 May 2006 17:51:30 +0000 (+0000) Subject: doc update X-Git-Tag: rel_0_2_0~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61f3b332f843da16ad878aa2ffd118d8a8a7fd02;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git doc update --- diff --git a/doc/build/content/unitofwork.txt b/doc/build/content/unitofwork.txt index 3bc1c4e967..0adc382f1e 100644 --- a/doc/build/content/unitofwork.txt +++ b/doc/build/content/unitofwork.txt @@ -444,25 +444,15 @@ The `flush()` operation will then dump to the standard output displays like the {code} Task dump: - UOWTask(6034768) 'User/users/6015696' - | - |- Save elements - |- Save: UOWTaskElement(6034800): User(6016624) (save) - | - |- Save dependencies - |- UOWDependencyProcessor(6035024) 'addresses' attribute on saved User's (UOWTask(6034768) 'User/users/6015696') - | |-UOWTaskElement(6034800): User(6016624) (save) + + UOWTask(6034768, 'User/users/None') | - |- Delete dependencies - |- UOWDependencyProcessor(6035056) 'addresses' attribute on User's to be deleted (UOWTask(6034768) 'User/users/6015696') - | |-(no objects) + |- Save User(6016624) + | |-Process User(6016624).addresses | - |- Child tasks - |- UOWTask(6034832) 'Address/email_addresses/6015344' - | | - | |- Save elements - | |- Save: UOWTaskElement(6034864): Address(6034384) (save) - | |- Save: UOWTaskElement(6034896): Address(6034256) (save) + |- UOWTask(6034832, 'Address/email_addresses/None') + | |- Save Address(6034384) + | |- Save Address(6034256) | |---- | |---- @@ -471,5 +461,4 @@ The above graph can be read straight downwards to determine the order of operati Of course, one can also get a good idea of the order of operations just by logging the actual SQL statements executed. -The format of the above display is definitely a work in progress and amazingly, is far simpler to read than it was in earlier releases. It will hopefully be further refined in future releases to be more intuitive (while not losing any information).