Re: [SQLObject] Using SQLBuilder to create a queryAll custom query
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Oleg B. <ph...@ma...> - 2006-04-20 18:56:39
|
On Thu, Apr 20, 2006 at 12:44:39PM -0600, Gabe Rudy wrote: > >str(Select((Contact.q.id, Contact.q.firstName, Company.q.companyName), > AttributeError: 'tuple' object has no attribute 'append' The first arg should be a list, I think: Select([Contact.q.id, Contact.q.firstName, Company.q.companyName],... Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |