findOneAndUpdateUpsert

fun findOneAndUpdateUpsert(): FindOneAndUpdateOptions

Creates an FindOneAndUpdateOptions and set upsert to true.