upsert

fun upsert(onUpsertAction: () -> Unit)

Method to insert or update an item

Parameters

onUpsertAction

The action to execute after the item inserted or updated