UpdateManyOperation class
Constructors
-
UpdateManyOperation(DbCollection collection, UpdateManyStatement updateManyStatement, {bool? ordered, UpdateManyOptions? updateManyOptions, Map<
String, Object> ? rawOptions})
Properties
- canRetryRead → bool
-
no setterinherited
- collection ↔ DbCollection?
-
getter/setter pairinherited
-
command
↔ Map<
String, Object> ? -
getter/setter pairinherited
- connection ↔ Connection?
-
getter/setter pairinherited
- db ↔ Db
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
options
↔ Map<
String, Object> -
getter/setter pairinherited
- ordered ↔ bool
-
If true, then when an update statement fails, return without performing
the remaining update statements. If false, then when an update fails,
continue with the remaining update statements, if any.
Defaults to true.
getter/setter pairinherited
- readPreference ↔ ReadPreference?
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- session ↔ Object?
-
getter/setter pairinherited
-
updates
↔ List<
UpdateStatement> -
An array of one or more update statements to perform on the
named collection.
getter/setter pairinherited
Methods
-
$buildCommand(
) → Map< String, Object> -
inherited
-
clearSession(
) → void -
inherited
-
execute(
{bool skipStateCheck = false}) → Future< Map< String, dynamic> > -
inherited
-
executeDocument(
) → Future< WriteResult> -
hasAspect(
Aspect aspect) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processOptions(
Map< String, dynamic> command) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited