core
1.0-RC1
js
core
/
dev.fritz2.repository
/
QueryRepository
/
addOrUpdate
add
Or
Update
js
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