PrismaQueryEvent class

Query log PrismaEvent

Implemented types

Constructors

PrismaQueryEvent({required String target, required DateTime timestamp, required String query, required String params, required int duration})
Create a new query log PrismaEvent
const

Properties

duration int
final
hashCode int
The hash code for this object.
no setterinherited
params String
final
query String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target String
final
timestamp DateTime
final

Methods

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

Operators

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

Static Methods

isQueryEvent(Map<String, dynamic> payload) → dynamic
PrismaEvent payload is a query PrismaEvent