Class ReplaceOptions

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

Namespace

MongoDB.Driver

Assembly

MongoDB.Driver.dll

Options for replacing a single document.

public class ReplaceOptions

Inheritance

ReplaceOptions

Derived

Inherited Members

Properties

BypassDocumentValidation

Gets or sets a value indicating whether to bypass document validation.

Collation

Gets or sets the collation.

Comment

Gets or sets the comment.

Hint

Gets or sets the hint.

IsUpsert

Gets or sets a value indicating whether to insert the document if it doesn't already exist.

Let

Gets or sets the let document.