what did you expect ?
Any query with a filter (unless IS NOT NULL) doesn't take into account the 
NULL value. 
It's a pretty standard behaviour in any SQL backend.

If you need to get all rows with both False AND None values, you should do

db((db.mytable.id == 1) & ((db.mytable.mybool != True) | (db.mytable.mybool 
!= None))).select() 

-- 

--- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to