Atlas Device SDKs are deprecated. Refer to the deprecation page for details.
io.realm.mongodb.mongo.result
io.realm.mongodb.mongo.result.InsertOneResult
The result of an insert one operation.
Constructors
Constructor and Description |
|---|
Constructs a result. |
Method Summary
Modifier and Type | Method and Description |
|---|---|
public BsonValue | Returns the _id of the inserted document. |
Inherited Methods
Methods inherited from class java.lang.Object :
getClass,hashCode,equals,clone,toString,notify,notifyAll,wait,wait,wait,finalize
Constructor Detail
Constructs a result. Parameters
|
Method Detail
getInsertedId
public BsonValue getInsertedId () |
|---|
Returns the _id of the inserted document. Returns the _id of the inserted document. |