Property UpsertedId

| MongoDB CSharp Driver API Reference (original) (raw)

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