Re: [SQLObject] per-instance connection
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2010-02-04 21:05:41
|
On Thu, Feb 04, 2010 at 10:45:38AM -1000, John Bresnahan wrote: > Thanks much! Is there a way to change the connection associated with an object you have already > acquired via select? Don't do that. If you want a row to be associated with a connection get or create it via that connection. This is especially important for transactions and rows locked using SELECT FOR UPDATE. Oleg. -- Oleg Broytman http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |