Default scope of variables
alex23
wuwei23 at gmail.com
Tue Jul 9 02:08:18 EDT 2013
On 9/07/2013 3:07 PM, Chris Angelico wrote:
> The subtransactions are NOT concepted as separate transactions. They
> are effectively the database equivalent of a try/except block.
Sorry, I assumed each nested query was somehow related to the prior
one. In which case, I'd probably go with Ethan's suggestion of a
top-level transaction context manager with its own substransaction
method.
More information about the Python-list
mailing list