array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'mongodb-driver-cursorinterface.getserver.php', 1 => 'MongoDB\\Driver\\CursorInterface::getServer', 2 => 'Returns the server associated with this cursor', ), 'up' => array ( 0 => 'class.mongodb-driver-cursorinterface.php', 1 => 'MongoDB\\Driver\\CursorInterface', ), 'prev' => array ( 0 => 'mongodb-driver-cursorinterface.getid.php', 1 => 'MongoDB\\Driver\\CursorInterface::getId', ), 'next' => array ( 0 => 'mongodb-driver-cursorinterface.isdead.php', 1 => 'MongoDB\\Driver\\CursorInterface::isDead', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/mongodb/driver/cursorinterface/getserver.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MongoDB\Driver\CursorInterface::getServer

(mongodb >=1.6.0)

MongoDB\Driver\CursorInterface::getServerReturns the server associated with this cursor

Beschreibung

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

Returns the MongoDB\Driver\Server associated with this cursor. This is the server that executed the MongoDB\Driver\Query or MongoDB\Driver\Command.

Parameter-Liste

Diese Funktion besitzt keine Parameter.

Rückgabewerte

Returns the MongoDB\Driver\Server associated with this cursor.

Fehler/Exceptions

Siehe auch