KotlinTrader / com.doubleu.kotlintrader.database / DBHelper / getIdColumnNames

getIdColumnNames

fun getIdColumnNames(entity: Entity<*>): Array<String>

Returns the names of the id columns of the given entity

inline fun <reified T : Entity<*>> getIdColumnNames(): Array<String>
fun <T : Entity<*>> getIdColumnNames(entityClass: KClass<T>): Array<String>

Returns the names of the id columns of the given Entity