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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
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