DeleteOneOptions class

Constructors

DeleteOneOptions({WriteConcern? writeConcern, String? comment})

Properties

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
ordered bool
If true, then when a delete statement fails, return without performing the remaining delete statements. If false, then when a delete statement fails, continue with the remaining delete statements, if any.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
writeConcern WriteConcern?
The WriteConcern for this delete operation. Omit to use the default write concern
finalinherited

Methods

getOptions(Db db) Map<String, Object>
When a writeConcern is given a Db object must be specified
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