On 8 Aug 2013, at 1:47 PM, Niphlod <niph...@gmail.com> wrote:
> Although it doesn't raise an error, querying
> WHERE column = NULL
> doesn't return any result (unless you force a 
> really-its-going-to-be-superdeprecated-dont-do-that-youre-going-to-hell mode 
> in some backends)

OK, that was confusing me, until I realized that web2py translates 'var == 
None' to var IS NULL, not var = NULL.

Oy.

Reminds me of NaN.


> 
> So, 
> WHERE column IN (NULL, othervalue)
> doesn't return NULL columns either...


-- 

--- 
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.


Reply via email to