On Thu, Jun 11, 2009 at 07:26:59PM +0000, Matthew Wilson wrote:
>     >>> sr = MyTable.select(false) # obviously empty
>     >>> sr.filter(False).count()
>     TypeError: 'bool' object is unsubscriptable

   Select clause is expected to be either SQLExpression or a string, not
bool.

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

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to