PHP 8.2.0 Alpha 2 available for testing

MongoDB\Driver\ServerDescription::getLastUpdateTime

(mongodb >=1.13.0)

MongoDB\Driver\ServerDescription::getLastUpdateTimeReturns the server's last update time in microseconds

Descrição

final public MongoDB\Driver\ServerDescription::getLastUpdateTime(): int

Returns the server's last update time in microseconds.

Nota: The returned value is a monotonic timestamp, which starts at an arbitrary point. As such, it is only suitable to compare with other return values from MongoDB\Driver\ServerDescription::getLastUpdateTime().

Parâmetros

Esta função não possui parâmetros.

Valor Retornado

Returns the server's last update time in microseconds.

Erros

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top