From Porcupine wiki

Developers: OQL ISNONE function

Syntax:

isnone(x, y)

If x evaluates to false then return y, else x. For instance, the following OQL statement will return the size of each object only if there is such an attribute set, otherwise the object's size is considered to be 0:

select id, displayName, isnone(size, 0)
from deep('/')
Retrieved from http://wiki.innoscript.org/pmwiki.php/Developers/OQLISNONE
Page last modified on December 16, 2006, at 11:06 PM