On Wed, Nov 3, 2010 at 9:10 PM, Branko Vukelic <[email protected]> wrote:
> 2010/11/3 Kenneth Lundström <[email protected]>:
>> IS_IN_DB takes out the need for IS_NOT_EMPTY as the value has to be in the
>> database it can´t be empty.
>
> IS_THAT_TRUE? Because, I know for sure there's a use-case for
>
>     IS_EMPTY_OR(IS_IN_DB())
>
> I've used the above pattern a lot in a web.py app I've recently
> created, and it traslates to: Can be NULL or be a foreign key.

Ok, ignore my remark. :P I wasn't thinking.



-- 
Branko Vukelić

[email protected]
[email protected]

Check out my blog: http://www.brankovukelic.com/
Check out my portfolio: http://www.flickr.com/photos/foxbunny/
Registered Linux user #438078 (http://counter.li.org/)
I hang out on identi.ca: http://identi.ca/foxbunny

Gimp Brushmakers Guild
http://bit.ly/gbg-group

Reply via email to