Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

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('/')
Page last modified on December 16, 2006, at 11:06 PM