MutateInSpec class Key-Value
A sub-operation to perform within a Mutate-In operation.
Constructors
-
MutateInSpec.arrayAddUnique(String path, Iterable<
Object?> values, {bool? createPath, bool? xattr}) -
Creates a MutateInSpec for adding unique values to an array in a
document.
factory
-
MutateInSpec.arrayAppend(String path, Iterable<
Object?> values, {bool? createPath, bool? xattr}) -
Creates a MutateInSpec for adding values to the end of an array in a
document.
factory
-
MutateInSpec.arrayInsert(String path, Iterable<
Object?> values, {bool? createPath, bool? xattr}) -
Creates a MutateInSpec for inserting values at a specified location in
an array in a document.
factory
-
MutateInSpec.arrayPrepend(String path, Iterable<
Object?> values, {bool? createPath, bool? xattr}) -
Creates a MutateInSpec for adding values to the beginning of an array in
a document.
factory
- MutateInSpec.decrement(String path, int delta, {bool? createPath, bool? xattr})
-
Creates a MutateInSpec for decrementing the value of a field in a
document.
factory
- MutateInSpec.increment(String path, int delta, {bool? createPath, bool? xattr})
-
Creates a MutateInSpec for incrementing the value of a field in a
document.
factory
- MutateInSpec.insert(String path, Object? value, {bool? createPath, bool? xattr})
-
Creates a MutateInSpec for inserting a field into the document.
factory
- MutateInSpec.remove(String path, {bool? xattr})
-
Creates a MutateInSpec for removing a field from a document.
factory
- MutateInSpec.replace(String path, Object? value, {bool? xattr})
-
Creates a MutateInSpec for replacing a field on a document.
factory
- MutateInSpec.upsert(String path, Object? value, {bool? createPath, bool? xattr})
-
Creates a MutateInSpec for upserting a field on a document.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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