On Tue, Mar 30, 2010 at 11:58:36AM +0800, Jason Heeris wrote:
> sqlobject.sqlbuilder.Select(dbase.ContItem.q.dbStock, dbase.ContItem)
[skip]
> TypeError: iteration over non-sequence

   The error I can see is the second parameter to Select(). You don't need
to pass the table class - Select derives it from the item ContItem.q.dbStock.
The second parameter to Select is WHERE clause; if you don't need it just
omit it.

Oleg.
-- 
     Oleg Broytman            http://phd.pp.ru/            p...@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to