Class BulkWriteUpdateOneModel

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Represents update one operation in the scope of BulkWrite operation.

public sealed class BulkWriteUpdateOneModel<TDocument> : BulkWriteModel

Type Parameters

TDocument

The type of the document.

Inheritance

BulkWriteUpdateOneModel

Inherited Members

Constructors

BulkWriteUpdateOneModel(CollectionNamespace, FilterDefinition, UpdateDefinition, Collation, BsonValue, bool, IEnumerable)

Initializes a new instance of the BulkWriteUpdateOneModel class.

BulkWriteUpdateOneModel(CollectionNamespace, FilterDefinition, UpdateDefinition, SortDefinition, Collation, BsonValue, bool, IEnumerable)

Initializes a new instance of the BulkWriteUpdateOneModel class.

BulkWriteUpdateOneModel(string, FilterDefinition, UpdateDefinition, Collation, BsonValue, bool, IEnumerable)

Initializes a new instance of the BulkWriteUpdateOneModel class.

BulkWriteUpdateOneModel(string, FilterDefinition, UpdateDefinition, SortDefinition, Collation, BsonValue, bool, IEnumerable)

Initializes a new instance of the BulkWriteUpdateOneModel class.

Properties

ArrayFilters

A set of filters specifying to which array elements an update should apply.

Collation

Specifies a collation.

Filter

The filter to apply.

Hint

The index to use.

IsUpsert

Indicating whether to insert the document if it doesn't already exist.

Sort

The sort definition to use.

Update

Update definition.