InsertOneOptions

Members

Variables

bypassDocumentValidation
Nullable!bool bypassDocumentValidation;

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

comment
Nullable!string comment;

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

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