UpdatePipelineOperations

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

Inheritors

Properties

Link copied to clipboard
abstract val context: ERROR CLASS: Symbol not found for BsonContext

Functions

Link copied to clipboard
abstract suspend fun updateManyWithPipeline(options: ERROR CLASS: Symbol not found for UpdateOptions<Document>.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery<Document>.() -> Unit = {}, update: ERROR CLASS: Symbol not found for UpdateWithPipelineQuery<Document>.() -> Unit)

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

Link copied to clipboard
abstract suspend fun updateOneWithPipeline(options: ERROR CLASS: Symbol not found for UpdateOptions<Document>.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery<Document>.() -> Unit = {}, update: ERROR CLASS: Symbol not found for UpdateWithPipelineQuery<Document>.() -> Unit)

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

Link copied to clipboard
abstract suspend fun upsertOneWithPipeline(options: ERROR CLASS: Symbol not found for UpdateOptions<Document>.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery<Document>.() -> Unit = {}, update: ERROR CLASS: Symbol not found for UpdateWithPipelineQuery<Document>.() -> Unit)

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