Docs Menu

Class DeleteResult

io.realm.mongodb.mongo.result.DeleteResult

The result of a delete operation.

Constructor and Description
long deletedCount
)

Constructs a result.

Modifier and Type
Method and Description
public long

Gets the number of documents deleted.

  • Methods inherited from class java.lang.Object : getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

public DeleteResult (
long deletedCount
)

Constructs a result.

Parameters

  • deletedCount - the number of documents deleted.

public long getDeletedCount ()

Gets the number of documents deleted.

Returns

the number of documents deleted