2024 年 PHP Conference Japan

MongoDB\Driver\CursorInterface::getServer

(mongodb >=1.6.0)

MongoDB\Driver\CursorInterface::getServer傳回與此游標關聯的伺服器

說明

abstract public MongoDB\Driver\CursorInterface::getServer(): MongoDB\Driver\Server

傳回與此游標關聯的 MongoDB\Driver\Server。這是執行 MongoDB\Driver\QueryMongoDB\Driver\Command 的伺服器。

參數

此函式沒有參數。

回傳值

傳回與此游標關聯的 MongoDB\Driver\Server

錯誤/例外

另請參閱

新增筆記

使用者貢獻的筆記

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