Table of Contents

Enum WriteModelType

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.dll

The type of a write model.

public enum WriteModelType

Fields

InsertOne = 0

A model to insert a single document.

DeleteOne = 1

A model to delete a single document.

DeleteMany = 2

A model to delete multiple documents.

ReplaceOne = 3

A model to replace a single document.

UpdateOne = 4

A model to update a single document.

UpdateMany = 5

A model to update many documents.