door
door copied to clipboard
@Insert / @Delete / @Update does not support vararg
This will fail to compile complaining about no @Entity annotation being found:
@Insert
abstract fun insert(vararg items: EntityName) : List<Long>
This does work, but vararg support would be nice since Room supports it
@Insert
abstract fun insert(items: List<EntityName>) : List<Long>