Class CommandStartedEvent

An event indicating the start of a given command

Hierarchy

  • CommandStartedEvent

Properties

address: string
command: Document
commandName: string
commandObj?: Document
connectionId?: string | number

Driver generated connection id

databaseName: string
requestId: number
serverConnectionId: null | bigint

Server generated connection id Distinct from the connection id and is returned by the hello or legacy hello response as "connectionId" from the server on 4.2+.

serviceId?: ObjectId

Accessors

Generated using TypeDoc