Table of Contents

Enum UpdateType

Namespace
MongoDB.Driver.Core.Operations
Assembly
MongoDB.Driver.Core.dll

Represents the update type.

[Obsolete("This enum will be made internal in a later release.")]
public enum UpdateType

Fields

Unknown = 0

The update type is unknown.

Update = 1

This update uses an update specification to update an existing document.

Replacement = 2

This update completely replaces an existing document with a new one.