Companion
object Companion
Functions
Link copied to clipboard
fun <T : Any> getInlineTypedForeignKeys(primaryKey: KProperty1<T, *>): MutableList<Pair<KProperty1<T, *>, KClass<*>>>
If primary and foreign keys are of the same typed inline class inline class Id<T>
, you can use this function to extract map of foreign keys pointing to T class. You can use return value of this function directly in Table constructor.