Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

OQL ISNONE function

Developers.OQLISNONE History

Hide minor edits - Show changes to markup

December 16, 2006, at 11:06 PM by Tassos Koutsovassilis -
Changed lines 6-7 from:

If x evaluates to false then return y, else x. For instance:

to:

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:

Changed line 11 from:

@]

to:

@]

November 28, 2005, at 11:39 PM by Tassos Koutsovassilis -
Added lines 1-11:

(:title OQL ISNONE function:)

Syntax:

isnone(x, y)

If x evaluates to false then return y, else x. For instance:

select id, displayName, isnone(size, 0)
from deep('/')
Page last modified on December 16, 2006, at 11:06 PM