QueryExecuted class

Fired when a database query is executed.

Use this for debugging or profiling.

Inheritance

Constructors

QueryExecuted({required String sql, required List bindings, required int timeMs, String connectionName = 'default'})

Properties

bindings List
The bindings/parameters used in the query.
final
connectionName String
The connection name.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sql String
The SQL query string.
final
timeMs int
The time taken to execute the query in milliseconds.
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