Re: [web2py] Re: Test for null not in a form

2010-12-12 Thread Branko Vukelic
On Mon, Dec 13, 2010 at 1:51 AM, Lorin Rivers wrote: > As far as I can tell, the only place null is mentioned in the DAL page is in > the definition of tables. None means NULL in Python, though. -- Branko Vukelić bg.bra...@gmail.com stu...@brankovukelic.com Check out my blog: http://www.bran

Re: [web2py] Re: Test for null not in a form

2010-12-12 Thread Lorin Rivers
As far as I can tell, the only place null is mentioned in the DAL page is in the definition of tables. On Dec 12, 2010, at 17:35 , mdipierro wrote: > The book never says that None is "NULL"? > I will check. That would be a big omission. > > Massimo > > On Dec 12, 5:24 pm, Lorin Rivers wrote:

[web2py] Re: Test for null not in a form

2010-12-12 Thread mdipierro
The book never says that None is "NULL"? I will check. That would be a big omission. Massimo On Dec 12, 5:24 pm, Lorin Rivers wrote: > No kidding. That should be called out in The Book. > > On Dec 12, 2010, at 17:14 , mdipierro wrote: > > > > > db(db.mytable.myfield!=None).select() > > > On Dec

Re: [web2py] Re: Test for null not in a form

2010-12-12 Thread Lorin Rivers
No kidding. That should be called out in The Book. On Dec 12, 2010, at 17:14 , mdipierro wrote: > db(db.mytable.myfield!=None).select() > > On Dec 12, 5:02 pm, Lorin Rivers wrote: >> Sometimes in the app I'm working on the default values aren't set in a >> column (for reasons outside of my con

[web2py] Re: Test for null not in a form

2010-12-12 Thread mdipierro
db(db.mytable.myfield!=None).select() On Dec 12, 5:02 pm, Lorin Rivers wrote: > Sometimes in the app I'm working on the default values aren't set in a column > (for reasons outside of my control). > > So, instead of using the default value as a filter, I need to also test for > null. > > How do