Class RemoteInsertOneResult

  • Direct Known Subclasses:
    SyncInsertOneResult

    public class RemoteInsertOneResult
    extends Object
    The result of an insert one operation.
    • Constructor Detail

      • RemoteInsertOneResult

        public RemoteInsertOneResult​(BsonValue insertedId)
        Constructs a result.
        Parameters:
        insertedId - the _id of the inserted document.
    • Method Detail

      • getInsertedId

        public BsonValue getInsertedId()
        Returns the _id of the inserted document.
        Returns:
        the _id of the inserted document.