Cursor

class rolumns.Cursor(group: Optional[Union[Group, str]] = None, parent: Optional[Cursor] = None)[source]

A read-only cursor over iterable records.

group describes how records should be resolved. Pass a string to imply a ByPath grouping.

parent describes this cursor’s parent, if any.

property current: Any

Current record.

group(group: Union[Group, str]) Cursor[source]

Creates and returns a child cursor.

group describes how records should be resolved. Pass a string to imply a ByPath grouping.

load(data: Any) None[source]

Loads data into the cursor.