QueryMetrics class Query

Various metrics that are returned by the server following the execution of a query.

Constructors

QueryMetrics({required Duration elapsedTime, required Duration executionTime, required int sortCount, required int resultCount, required int resultSize, required int mutationCount, required int errorCount, required int warningCount})
const

Properties

elapsedTime Duration
The total amount of time spent running the query.
final
errorCount int
The total number of errors which were encountered during the execution of the query.
final
executionTime Duration
The total amount of time spent executing the query.
final
hashCode int
The hash code for this object.
no setterinherited
mutationCount int
The total number of rows which were altered by the query.
final
resultCount int
The total number of rows which were part of the result set.
final
resultSize int
The total number of bytes which were generated as part of the result set.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortCount int
The total number of rows which were part of the sorting for the query.
final
warningCount int
The total number of warnings which were encountered during the execution of the query.
final

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