QueryStartEvent class

Event data for a query that is about to be executed.

Constructors

QueryStartEvent({required String sql, required List parameters, String? model, String? operation, required DateTime startTime})
const

Properties

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 bound to the query
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sql → String
The SQL query being executed
final
startTime → DateTime
Timestamp when the query started
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