Ive got a stupid question. In Room entity (data cl...
# getting-started
u
Ive got a stupid question. In Room entity (data class) has a primary key id property which is autogenerate. So when inserting I dont want to add the id. If I put a default value on it, kotlin will make me label all the params since it is first. Whats the standard way of takling this, factory method?
d
Factory method or secondary constructor would both work.