Skip to content

MongoDB driver for Kotlin (coroutines)opensavvy.ktmongo.coroutines.operationsUpdatePipelineOperations

UpdatePipelineOperations

Interface grouping MongoDB operations allowing to update existing information using aggregation pipelines.

Inheritors

Properties

context

abstract val context: ERROR CLASS: Symbol not found for BsonContext

Functions

updateManyWithPipeline

abstract suspend fun updateManyWithPipeline(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 UpdateWithPipelineQuery.() -> Unit)

Updates all documents that match filter according to the update pipeline.

updateOneWithPipeline

abstract suspend fun updateOneWithPipeline(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 UpdateWithPipelineQuery.() -> Unit)

Updates a single document that matches filter according to the update pipeline.

upsertOneWithPipeline

abstract suspend fun upsertOneWithPipeline(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 UpdateWithPipelineQuery.() -> Unit)

Updates a single document that matches filter according to the update pipeline.