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 21:01:56
|
On Thu, Apr 20, 2006 at 02:39:48PM -0600, Gabe Rudy wrote: > connection.sqlrepr(Select(...)) is preferred over str(Select(...)) then is it? str(Select()) can raise an exception because str() doesn't pass a database name to __sqlrepr__() internal methods. connection.sqlrepr() passes it correctly. Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |