Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

OQL INSTANCEOF function

Developers.OQLINSTANCEOF History

Show minor edits - Show changes to output

November 28, 2005, at 11:48 PM by Tassos Koutsovassilis -
Added lines 1-13:
(:title OQL INSTANCEOF function:)

''Syntax:''
->instanceof(x)

Returns ''true'' if the current object is a subclass of x. For example:

%code%
[@select * from 'users'
where instanceof('schemas.org.innoscript.security.GenericUser')
@]

will return all instances of the ''GenericUser'' type, contained inside the 'users' container.
Page last modified on November 28, 2005, at 11:48 PM