Room DB autogenerate PrimaryKey

后端 未结 0 1057
小鲜肉
小鲜肉 2020-12-01 18:30

I have entity

@Entity
data class SegmentEntity(
@PrimaryKey(autoGenerate = true)
val id: Long,
var rideRelatedId: Long?,
var name: String?,
var speed: String?         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题