BatchResponse class
Class containing the results of a batch transaction.
Constructors
Properties
-
errors
→ Iterable<
BatchOperationResult< BaseDocument> > -
Returns only the results that have failed.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSuccess → bool
-
Returns
true
if all batch operations succeeded, or if the result list is empty.no setter - length → int
-
The number of results in this batch response.
no setter
-
results
→ Iterable<
BatchOperationResult< BaseDocument> > -
Returns all results contained in this batch response.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get<
T extends BaseDocument> (int index) → T? - Provides access to items returned by Cosmos DB in this batch response.
-
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