PHP Conference Japan 2024

MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId

(mongodb >=1.3.0)

MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId傳回指令的請求 ID

說明

final public MongoDB\Driver\Monitoring\CommandStartedEvent::getRequestId(): 字串

請求 ID 由擴充功能產生,可用於將此 MongoDB\Driver\Monitoring\CommandStartedEvent 與後續的 MongoDB\Driver\Monitoring\CommandFailedEventMongoDB\Driver\Monitoring\CommandSucceededEvent 關聯。

參數

此函式沒有參數。

回傳值

回傳指令的請求 ID。

錯誤/例外

新增註記

使用者貢獻的註記

此頁面沒有使用者貢獻的註記。
To Top