Click or drag to resize

WriteModelType Enumeration

The type of a write model.

Namespace:  MongoDB.Driver
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public enum WriteModelType
Members
  Member nameValueDescription
InsertOne0 A model to insert a single document.
DeleteOne1 A model to delete a single document.
DeleteMany2 A model to delete multiple documents.
ReplaceOne3 A model to replace a single document.
UpdateOne4 A model to update a single document.
UpdateMany5 A model to update many documents.
See Also