DeleteResult

case class DeleteResult(wrapper: DeleteResult)

The result of a delete operation. If the delete was unacknowledged, then wasAcknowledged will return false and all other methods will throw UnsupportedOperationException.

See also:

com.mongodb.WriteConcern#UNACKNOWLEDGED

Since:

3.0

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getDeletedCount: Task[Long]

Gets the number of documents deleted.

Gets the number of documents deleted.

Returns:

a Task of the number of documents deleted

def wasAcknowledged(): Boolean

Returns true if the write was acknowledged.

Returns true if the write was acknowledged.

Returns:

true if the write was acknowledged

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product