MongoDB driver for Kotlin (synchronous) • opensavvy.ktmongo.sync.operations • UpdateOperations • UpsertResult
UpsertResult¶
interface UpsertResult : UpdateOperations.UpdateResult
The return value of upsertOne.
Properties¶
acknowledged¶
abstract val acknowledged: Boolean
true if the update was acknowledged.
matchedCount¶
abstract val matchedCount: Long
The number of matched documents.
modifiedCount¶
abstract val modifiedCount: Long
The number of modified documents.
upsertedCount¶
abstract val upsertedCount: Int
The number of upserted documents.
upsertedId¶
abstract val upsertedId: ERROR CLASS: Symbol not found for BsonValueReader??
The _id of the upserted document, if any.