Class CommandSucceededEvent

An event indicating the success of a given command


  • CommandSucceededEvent


address: string
commandName: string
connectionId?: string | number

Driver generated connection id

duration: number
reply: unknown
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


Generated using TypeDoc