suspend fun deleteOneById(id: Any): DeleteResult
(source)
Removes at most one document from the id parameter. If no documents match, the collection is not modified.
suspend fun deleteOneById(clientSession: ClientSession, id: Any): DeleteResult
(source)
Removes at most one document from the id parameter. If no documents match, the collection is not modified.
clientSession
- the client session with which to associate this operation