insertOrUpdateWorks

abstract suspend fun insertOrUpdateWorks(works: List<WorkEntity>): List<Long>

to insert or update the WorkEntity

Return

id of the latest added WorkEntity

See also

https://www.sqlite.org/rowidtable.html

Parameters

works

list of WorkEntity