Because null (none) has special meaning in sql and can't be compared, so you
should use explicit comparison with null (none)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (
Hi all
Today my mind is a little heavy but can't wait till tomorrow
Why
db((db.auth_user.registration_key=='')|(db.auth_user.registration_key==None)).count()
>
gives me 2 and
db(db.auth_user.registration_key!='blocked').count()
>
gives me 1 when I use only 'blocked' to block users?
Thanks
What are the registration key and registration identifier fields in auth
user sign up table?
I'm new to web2py, so I apologize if the question looks silly.
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and
3 matches
Mail list logo