PHP 8.6.0 Alpha 2 available for testing

MongoDB\Driver\CursorInterface::getServer

(mongodb >=1.6.0)

MongoDB\Driver\CursorInterface::getServerDevuelve el servidor asociado a este cursor

Descripción

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

Devuelve el MongoDB\Driver\Server asociado a este cursor. Este es el servidor que ejecutó la MongoDB\Driver\Query o la MongoDB\Driver\Command.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

Devuelve el MongoDB\Driver\Server asociado a este cursor.

Errores/Excepciones

Véase también

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top