UpdatePipelineOperations

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

Inheritors

Properties

Link copied to clipboard
abstract val context: <Error class: unknown class>

Functions

Link copied to clipboard
abstract fun updateManyWithPipeline(options: <Error class: unknown class><Document>.() -> Unit = {}, filter: <Error class: unknown class><Document>.() -> Unit = {}, update: <Error class: unknown class><Document>.() -> Unit)

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

Link copied to clipboard
abstract fun updateOneWithPipeline(options: <Error class: unknown class><Document>.() -> Unit = {}, filter: <Error class: unknown class><Document>.() -> Unit = {}, update: <Error class: unknown class><Document>.() -> Unit)

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

Link copied to clipboard
abstract fun upsertOneWithPipeline(options: <Error class: unknown class><Document>.() -> Unit = {}, filter: <Error class: unknown class><Document>.() -> Unit = {}, update: <Error class: unknown class><Document>.() -> Unit)

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