Longhorn PHP 2026 - Call For Papers

MongoDB\Driver\CursorInterface::getServer

(mongodb >=1.6.0)

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

Descripción

abstract public 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

  • Lanza una excepción MongoDB\Driver\InvalidArgumentException en caso de error durante el análisis de un argumento.

Ver también

add a note

User Contributed Notes

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