Class RemoteInsertManyResult
- java.lang.Object
-
- com.mongodb.stitch.core.services.mongodb.remote.RemoteInsertManyResult
-
- Direct Known Subclasses:
SyncInsertManyResult
public class RemoteInsertManyResult extends Object
The result of an insert many operation.
-
-
Constructor Summary
Constructors Constructor Description RemoteInsertManyResult(Map<Long,BsonValue> insertedIds)
Constructs a result.
-
Method Summary
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.
-
-