cursor is iterable