Key Methods - Mura Docs v6

Key Methods

<cfscript>
iterator.hasNext(); //Returns true if there is a next value
iterator.next(); // Returns and moves to the next value
iterator.peek(); // Return next value without moving
iterator.reset(); // Moves the current index to the beginning of the query
iterator.end(); // Moves the current index to the end of the query
iterator.hasPrevious(); //Returns if there is previous value
iterator.previous(); //Returns and moves to the previous value
iterator.setQuery();
iterator.getQuery();
iterator.recordCount();
iterator.setPage({pageNum});
iterator.getPage();
iterator.pageCount(); // Records per page (NextN)
iterator.setNextN({nextN});
iterator.getNextN();
iterator.setStartRow({startRow});
iterator.getStartRow();
</cfscript>