delete

open suspend override fun delete(id: String)

Deletes an entity from async MongoDB storage by its identifier.

Parameters

id

The unique identifier of the entity to delete.

Throws

if no entity with the given ID exists.