there are the only valid queries involving a boolean: table.field == True table.field == False table.field == None table.field != True table.field != False table.field != None
On Friday, 11 October 2013 21:19:52 UTC-5, Adi wrote: > > Search: > table.field = "on" (shows rows with "T") > table.field != "on" (no rows, even though there are some "F"'s) > > 2.7.3-stable+timestamp.2013.10.11.19.30.17, MySQL, field defined as > boolean, char(1) > > I think this worked, but haven't used it in some time. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.