Loading TOC...

MarkLogic Server 11.0 Product Documentation
ValueIterator functions

The table below lists all the ValueIterator built-in functions (in this namespace: ValueIterator).

ValueIterator is a subtype of Value.

[DEPRECATED: Use Sequence instead.]

An iterator over MarkLogic values.

7 functions
Function name Description
ValueIterator.clone [DEPRECATED: Only available for type checking; use Sequence instead.] Clone the value iterator.
ValueIterator.count [DEPRECATED: Only available for type checking; use Sequence instead.] Return a count of how many values are in the iterator.
ValueIterator.next [DEPRECATED: Only available for type checking; use Sequence instead.] Advance the iterator to obtain the next value.
ValueIterator.toArray [DEPRECATED: Only available for type checking; use Sequence instead.] Return an array containing the values in the value iterator.
ValueIterator.toObject This is inherited from the Value object. Return a JavaScript object value.
ValueIterator.toString This is inherited from the Value object. The atomic value of the object (for example, of the Node).
ValueIterator.valueOf This is inherited from the Value object. The atomic value of the object (for example, of the Node).