asSequence

Create a Sequence that returns all the data from the Cursor.

Each element in the sequence represents one row from the cursor as a Map. The key is the column name, and the value is the value of the column.