MongoDB driver for Kotlin (synchronous) • opensavvy.ktmongo.sync.operations • UpdateOperations • UpdateResult • modifiedCount
modifiedCount¶
abstract val modifiedCount: Long
The number of modified documents.
If this update created new documents (e.g., with upsertOne), they are not counted by this field: they did not already exist, so they were not modified.
Throws¶
UnsupportedOperationException-
If the update was not
acknowledged.