MssqlQueryRecorder class
Keeps the events, for a request-scoped or development-time report.
Bounded: capacity oldest events are dropped so a long-lived recorder cannot grow without limit. Printing is left to whoever knows where the output should go.
Constructors
- MssqlQueryRecorder({int capacity = 256})
Properties
- capacity → int
-
How many events are kept. Oldest are dropped when this is exceeded.
final
- count → int
-
no setter
- elapsed → Duration
-
no setter
-
events
→ List<
MssqlQueryEvent> -
final
-
failures
→ List<
MssqlQueryEvent> -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void -
describe(
) → String - The statements that ran, one per line, longest first.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
record(
MssqlQueryEvent event) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited