An iterator over database results. Performing a queryItems() SparkDataCursor thus:

var cursor = api.queryItems( query );
if( cursor.hasNext() )
{var obj =;}


signature hasNext()

returns boolean

Checks if there is another object available.


signature next()

returns SparkDataItem

Moves the cursor ahead by one and returns the object the cursor is then at.

Did this page help you? Please enter your feedback below.