MongoDB\Driver\Monitoring\CommandSucceededEvent::getServerConnectionId
Почист и полокален преглед на PHP референцата, со задржана структура од PHP.net и подобра читливост за примери, секции и белешки.
MongoDB\Driver\Monitoring\CommandSucceededEvent::getServerConnectionId
Референца за `mongodb-driver-monitoring-commandsucceededevent.getserverconnectionid.php` со подобрена типографија и навигација.
MongoDB\Driver\Monitoring\CommandSucceededEvent::getServerConnectionId
(mongodb >=1.14.0)
MongoDB\Driver\Monitoring\CommandSucceededEvent::getServerConnectionId — Returns the server connection ID for the command
= NULL
Returns the server connection ID for the command. The server connection ID is distinct from server (i.e.
MongoDB\Driver\Monitoring\CommandSucceededEvent::getServer()) and is returned in the "connectionId" field of a hello
command response MongoDB 4.2+.
Параметри
Оваа функција нема параметри.
Вратени вредности
Returns the server connection ID, or null if it is not available.
Errors/Exceptions
- ). Ако повикот не успее, ќе врати MongoDB\Driver\Exception\InvalidArgumentException » Промени текови