public class InsertOneResult extends Object
Constructor and Description |
---|
InsertOneResult(BsonValue insertedId)
Constructs a result.
|
Modifier and Type | Method and Description |
---|---|
BsonValue |
getInsertedId()
Returns the _id of the inserted document.
|