Skip to content

MongoDB driver for Kotlin (synchronous)opensavvy.ktmongo.sync.operationsDeleteOperations

DeleteOperations

Interface grouping MongoDB operations relating to deleting documents.

Inheritors

Properties

context

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

Functions

deleteMany

abstract fun deleteMany(options: ERROR CLASS: Symbol not found for DeleteManyOptions.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery.() -> Unit)

Deletes all documents that match filter.

deleteOne

abstract fun deleteOne(options: ERROR CLASS: Symbol not found for DeleteOneOptions.() -> Unit = {}, filter: ERROR CLASS: Symbol not found for FilterQuery.() -> Unit)

Deletes the first document found that matches filter.