Re: [SQLObject] Help with SQLBuilder NOTIN
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ph...> - 2010-03-30 10:04:44
|
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/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |