How to ignore primary key when I insert room database entity

Advertisements I’m wondering how to ignore primary key when I insert some entity. (Room Entity have to have more than 1 primary keys) For example, there is an entity following under. @Entity(primaryKeys = ["id"], tableName = "someEntity") data class SomeEntity( val id: Int = 0, val someClass: SomeClass<*>? = null ) the insert logic will… Read More How to ignore primary key when I insert room database entity