ReplaceOneOptions class

Constructors

ReplaceOneOptions({WriteConcern? writeConcern, bool? bypassDocumentValidation, String? comment})

Properties

bypassDocumentValidation bool
Enables update to bypass document validation during the operation. This lets you update documents that do not meet the validation requirements.
getter/setter pairinherited
comment String?
A user-provided comment to attach to this command. Once set, this comment appears alongside records of this command in the following locations:
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writeConcern WriteConcern?
A document expressing the write concern. of the update operation. Omit to use the default write concern.
getter/setter pairinherited

Methods

getOptions(Db db) Map<String, Object>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited