QueryEndEvent class

Event data for a completed query.

Constructors

QueryEndEvent({required String sql, required List parameters, String? model, String? operation, required Duration duration, required int rowCount})
const

Properties

duration Duration
How long the query took to execute
final
hashCode int
The hash code for this object.
no setterinherited
model String?
Name of the model being queried (if known)
final
operation String?
Type of operation (findMany, create, update, etc.)
final
parameters List
Parameters that were bound to the query
final
rowCount int
Number of rows returned (for SELECT) or affected (for INSERT/UPDATE/DELETE)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql String
The SQL query that was executed
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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