You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lib/src/orm/connection/event/QueryExecutedEvent.ts

18 lines
425 B

import {Connection} from '../Connection'
import {BaseEvent} from '../../../support/bus'
/**
* Event fired when a query is executed.
*/
export class QueryExecutedEvent extends BaseEvent {
constructor(
public readonly connectionName: string,
public readonly connection: Connection,
public readonly query: string,
) {
super()
}
eventName = '@extollo/lib.QueryExecutedEvent'
}