public class InsertManyResult extends Object
| Constructor and Description |
|---|
InsertManyResult(Map<Long,BsonValue> insertedIds)
Constructs a result.
|
| Modifier and Type | Method and 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.
|
public Map<Long,BsonValue> getInsertedIds()