PHP - Manual: MongoDB\Driver\ServerDescription::getType
2025-02-27
(mongodb >=1.13.0)
MongoDB\Driver\ServerDescription::getType — Returns a string denoting the type of this server
Returns a string denoting the type of this server. The value will correlate with a MongoDB\Driver\ServerDescription constant.
此函数没有参数。
Returns a string denoting the type of this server.
官方地址:https://www.php.net/manual/en/mongodb-driver-serverdescription.gettype.php