Re: [SQLObject] SQLObject mass insertion
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Juan M. S. <vic...@gm...> - 2010-04-01 09:18:47
|
Yes, you're right and that's a bit odd. I've set the debug variable in the usual way: self._conn = connectionForURI(con_str) self._conn.debug = True And I noticed this also: 1/Query : CREATE TABLE meta_dir ( [...] 1/QueryR : CREATE TABLE meta_dir ( [...] Any idea why debug gets printed twice, but the second time with a capital 'r' after "Query"? :P From: Oleg Broytman <ph...@ph...> To: sql...@li... Date: Thursday 01 April 2010 > On Thu, Apr 01, 2010 at 05:47:06AM -0300, Juan Manuel Santos wrote: > > http://pastebin.com/raw.php?i=Xp1TjmZ0 > > > > Basically, if you look in the previous link for "Setting icon" or > > "Setting thumb" you will see that both the icon and the thumb are being > > set TWICE! with the same data. > > There are two debugging entries for every query (see CREATE TABLE for > examples) but every query runs only once. Two debugging output are from > different methods. > > Oleg. |