Package io.realm.mongodb.mongo.options
Class InsertManyResult
- java.lang.Object
-
- io.realm.mongodb.mongo.options.InsertManyResult
-
public class InsertManyResult extends Object
The result of an insert many operation.
-
-
Constructor Summary
Constructors Constructor Description InsertManyResult(Map<Long,BsonValue> insertedIds)
Constructs a result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<Long,BsonValue>
getInsertedIds()
Returns the _ids of the inserted documents arranged by the index of the document from the operation and its corresponding id.
-
-
-
Method Detail
-
getInsertedIds
public Map<Long,BsonValue> getInsertedIds()
Returns the _ids of the inserted documents arranged by the index of the document from the operation and its corresponding id.- Returns:
- the _ids of the inserted documents arranged by the index of the document from the operation and its corresponding id.
-
-