Property UpsertedId

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

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

UpsertedId

The _id field of the upserted document if an upsert occurred.

public BsonValue UpsertedId { get; init; }

Property Value

BsonValue