I have a question, when I have entity like this: `...
# android
v
I have a question, when I have entity like this:
Copy code
@Entity
data class Note(
    val title: String,
    val content: String,
    val timestamp: Long,
    val color: Int,
    @PrimaryKey val id: Int? = null
)
and when I create Note object, and passing
null
to
id
, what room will assign to it? In my case it is assigning
1, 2, 3, 4...
like it is autoGenerating, is this correct what I am thinking?
e
FYI there is a #room channel
🙏 1