//
koffee-backend
/
eu.yeger.koffee.utility
/
upsert
upsert
Upserts an
Entity
.
Author
Jan Müller
Parameters
<receiver>
The target collection.
entity
The
Entity
to be upserted.
options
The options for upserting.
T
The type of the
Entity
.
suspend fun <
T
:
Entity
>
CoroutineCollection
<
T
>.
upsert
(entity:
T
, options:
UpdateOptions
):
UpdateResult
Content copied to clipboard