略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: MongoCursorException::getHost

2024-05-10

MongoCursorException::getHost

(PECL mongo >= 1.0.0)

MongoCursorException::getHost遇到该错误的服务器的 hostname

说明

public MongoCursorException::getHost ( void ) : string

返回发送查询到该服务器的 hostname。

参数

此函数没有参数。

返回值

返回 hostname,如果 hostname 是未知的则是 NULL

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/mongocursorexception.gethost.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3