mapper

abstract fun mapper(cursor: KQLiteCursor): T

Maps the current row of the cursor to an object of type T.

This method is responsible for reading the values from the database cursor and reconstructing the corresponding Kotlin object.

Return

A new instance of T populated with data from the current database row.

Author

MOHAMMAD AZIM ANSARI

Parameters

cursor

The KQLiteCursor positioned at the row to be mapped.

See also