ReplaceOptions

Members

Variables

bypassDocumentValidation
Nullable!bool bypassDocumentValidation;

If true, allows the write to opt-out of document level validation.

collation
Nullable!Collation collation;

Collation allows users to specify language-specific rules for string comparison, such as rules for letter-case and accent marks.

comment
Nullable!string comment;

Users can specify an arbitrary string to help trace the operation through the database profiler, currentOp, and logs.

hint
Nullable!Bson hint;

The index to use. Specify either the index name as a string or the index key pattern.

upsert
Nullable!bool upsert;

When true, creates a new document if no document matches the query.

writeConcern
Nullable!WriteConcern writeConcern;

A document that expresses the write concern of the insert command. Omit to use the default write concern.

See Also

Meta