QueryLogEntry class

Structured representation of a logged query or mutation.

Constructors

QueryLogEntry({required String type, required StatementPreview preview, required Duration duration, required bool success, String? model, String? table, int? rowCount, Object? error, bool includeParameters = true})

Properties

duration Duration
final
error Object?
final
hashCode int
The hash code for this object.
no setterinherited
includeParameters bool
final
model String?
final
parameters List<Object?>
no setter
parameterSets List<List<Object?>>
no setter
preview StatementPreview
final
rowCount int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql String
no setter
success bool
final
table String?
final
type String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited
withoutParameters() QueryLogEntry

Operators

operator ==(Object other) bool
The equality operator.
inherited