Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /
io.realm.mongodb.mongo.result

Class InsertOneResult

java.lang.Object
io.realm.mongodb.mongo.result.InsertOneResult

El resultado de una operación de inserción única.

Constructor and Description
BsonValue insertedId
)

Constructs a result.

Modificador y Tipo
Método y descripción

public BsonValue

Returns the _id of the inserted document.

  • Métodos heredados de la clase java.lang.Object: getClass , hashCode , equals , clone , toString , notify , notifyAll , wait , wait , wait , finalize

BsonValue insertedId
)

Constructs a result.

Parámetros

  • insertedId - the _id of the inserted document.

public BsonValue getInsertedId ()

Returns the _id of the inserted document.

Devuelve

the _id of the inserted document.

Volver

DeleteResult

En esta página