upsert

fun upsert(): UpdateOptions

Creates an UpdateOptions and set upsert to true.