Docs Menu

Class DeleteResult

On this page

  • io.realm.mongodb.mongo.result
  • Constructors
  • Method Summary
  • Inherited Methods
  • Constructor Detail
  • Method Detail
  • getDeletedCount
java.lang.Object
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.resultClass InsertOneResult →
Give Feedback
© 2022 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2022 MongoDB, Inc.