(mongodb >=0.2.0)
MongoDB\Driver\Cursor::getServer — Returns the Server object to which this cursor is attached
この関数にはパラメータはありません。
例1 MongoDB\Driver\Cursor::getServer() example
<?php/* ... */?>
上の例の出力は、 たとえば以下のようになります。
...