Docs Menu

Docs HomeDevelop ApplicationsAtlas Device SDKs

Class DeleteResult

On this page

  • io.realm.mongodb.mongo.result
  • Constructors
  • Method Summary
  • Inherited Methods
  • Constructor Detail
  • Method Detail
  • getDeletedCount
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

← io.realm.mongodb.mongo.result