core
/
dev.fritz2.repositories
/
QueryRepository
/
addOrUpdate
js
add
Or
Update
abstract suspend fun
addOrUpdate
(entities:
List
<
T
>, entity:
T
):
List
<
T
>
Content copied to clipboard
adds or updates an entity in the list
Return
list after add or update
Parameters
entities
entity list
entity
entity to save