Table of Contents

Enum UpdateFlags

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Flags used with the Update method in MongoCollection.

[Flags]
public enum UpdateFlags
Extension Methods

Fields

None = 0

No flags.

Upsert = 1

If document doesn't exist then do an Insert.

Multi = 2

Update all matching documents (instead of just one).