Recent Changes - Search:

Administrators

Developers

Articles

Cookbook

edit

OQL SLICE function

Developers.OQLSLICE History

Hide minor edits - Show changes to output

November 28, 2005, at 11:42 PM by Tassos Koutsovassilis -
Changed line 13 from:
returns all the objects whose displayName starts with 'R'.
to:
returns all the objects whose ''displayName'' starts with 'R'.
November 28, 2005, at 11:42 PM by Tassos Koutsovassilis -
Added lines 1-13:
(:title OQL SLICE function:)

''Syntax:''
->slice(x, start, stop)

Return a slice of an object. For instance:

%code%
[@select id, displayName from deep('/')
where slice(displayName, 0, 1) = 'R'
@]

returns all the objects whose displayName starts with 'R'.
Page last modified on November 28, 2005, at 11:42 PM