WriteModelType Enumeration |
Namespace: MongoDB.Driver
Member name | Value | Description | |
---|---|---|---|
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. |
Copyright © 2010–present MongoDB Inc.