MongoDB driver for Kotlin (synchronous) • opensavvy.ktmongo.sync.operations • DeleteOperations
DeleteOperations¶
interface DeleteOperations<Document : Any> : BaseOperations
Interface grouping MongoDB operations relating to deleting documents.
Inheritors¶
Properties¶
context
¶
abstract val context:
Functions¶
deleteMany
¶
abstract fun deleteMany(options: <Document>.() -> Unit = {}, filter: <Document>.() -> Unit)
Deletes all documents that match filter
.
deleteOne
¶
Deletes the first document found that matches filter
.