getColumns

open fun getColumns(database: SQLiteDatabase, tableName: String): List<String>

Column List. can be used to trigger a create table on database upgrades

Return

List of columns (empty list when table was not found)

Parameters

database

database to check

tableName

table name to look for