yes

db(db.table.field==None).select()

None is read as NULL in SQL

On Mar 2, 9:19 pm, Michael Toomim <too...@gmail.com> wrote:
> How is a database "Null" entry represented in python when using the
> DAL? How can you query for null rows? How can you set them?
>
> Is this the same as None?
>
> And if you create a database row without setting a value for a column,
> this is set to Null=None, right?
>
> Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to