query

open override fun query(tableName: String, size: Int?): List<Map<String, Any?>>

Query table based on size. Since the order is not specified, it will most likely get based on insertion order.

Return

list of map whose key is column name and value is value of that column.

Parameters

tableName

: String - Name of table to query

size

: Int - size to query. It will return fewer if table contains fewer.