UpdateManyResult

data class UpdateManyResult(val modifiedCount: Long, val upsertedId: Any?)

Wrapper of results of an updateMany call.

Parameters

modifiedCount

number of documents that was updated by the operation.

upsertedId

primary key of the new document if created.

Constructors

Link copied to clipboard
constructor(modifiedCount: Long, upsertedId: Any?)

Properties

Link copied to clipboard
Link copied to clipboard