Table of Contents

Property UpsertedId

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

UpsertedId

Gets the upserted id, if one exists. If IsAcknowledged is false, this will throw an exception.

public abstract BsonValue UpsertedId { get; }

Property Value

BsonValue