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.9.0+32b058abcdf2c7e8d9dd3a676d207b31897eee2e
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