PHP 8.5.0 Alpha 2 available for testing

MongoDB\Driver\TopologyDescription::hasWritableServer

(mongodb >=1.13.0)

MongoDB\Driver\TopologyDescription::hasWritableServerIndica si la topología dispone de un servidor en escritura

Descripción

final public MongoDB\Driver\TopologyDescription::hasWritableServer(): bool

Indica si la topología dispone de un servidor en escritura.

Parámetros

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

Valores devueltos

Indica si la topología dispone de un servidor en escritura.

Errores/Excepciones

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

User Contributed Notes

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