next() {
        if (i < length) {
          return {
            value: cursor.select(i++)
          };
        }

        return {
          done: true
        };
      }
Method used to allow iterating over cursors containing list-type data.

e.g. for(let i of cursor) { ... }

@returns {object} -  Each item sequentially.