MongoDB driver for Kotlin (coroutines) • opensavvy.ktmongo.coroutines.operations • UpdateOperations
UpdateOperations¶
interface UpdateOperations<Document : Any> : BaseOperations
Interface grouping MongoDB operations allowing to update existing information.
Inheritors¶
Properties¶
context¶
abstract val context: ERROR CLASS: Symbol not found for BsonContext
Functions¶
bulkWrite¶
Performs multiple update operations in a single request.
findOneAndUpdate¶
abstract suspend fun findOneAndUpdate(options: ERROR CLASS: Symbol not found for UpdateOptions.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery.() -> Unit = {}, update: ERROR CLASS: Symbol not found for UpdateQuery.() -> Unit): Document?
replaceOne¶
abstract suspend fun replaceOne(options: ERROR CLASS: Symbol not found for ReplaceOptions.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery.() -> Unit = {}, document: Document)
repsertOne¶
abstract suspend fun repsertOne(options: ERROR CLASS: Symbol not found for ReplaceOptions.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery.() -> Unit = {}, document: Document)
updateMany¶
abstract suspend fun updateMany(options: ERROR CLASS: Symbol not found for UpdateOptions.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery.() -> Unit = {}, update: ERROR CLASS: Symbol not found for UpdateQuery.() -> Unit)