Click or drag to resize

UpdateFlags Enumeration

Flags used with the Update method in MongoCollection.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver.Legacy (in MongoDB.Driver.Legacy.dll) Version: 2.6.0+Branch.origin/v2.6.x.Sha.593796a7b35dc59243383bcc684de296a5468f2e
Syntax
[FlagsAttribute]
public enum UpdateFlags
Members
  Member nameValueDescription
None0 No flags.
Upsert1 If document doesn't exist then do an Insert.
Multi2 Update all matching documents (instead of just one).
See Also