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

getTableName

fun <T : Entity<*>> getTableName(entity: T): String

Returns the name of the database table associated with the given entity

inline fun <reified T : Entity<*>> getTableName(): String
fun <T : Entity<*>> getTableName(clazz: KClass<T>): String

Returns the name of the database table associated with the given Entity