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: 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¶
Deletes the first document found that matches filter.