query:end
"query:end": { queryId: string }
query:error
"query:error": { message: string }
query:start
"query:start": { queryId: string }
store:close
"store:close": { storeType: string }
store:error
"store:error": { message: string }
store:open
"store:open": { storeType: string }
transaction:abort
"transaction:abort": { transactionId: string }
transaction:begin
"transaction:begin": { transactionId: string }
transaction:commit
"transaction:commit": { transactionId: string }
transaction:error
"transaction:error": { message: string }
Maps each DBMS event name to the payload a listener receives.
💡 The event name selects the payload type, so a listener cannot read the wrong fields.
Example
See
DbmsEventEmitter