PHP 8.5.0 Alpha 2 available for testing

MongoDB\Driver\ReadPreference::getHedge

(mongodb >=1.8.0)

MongoDB\Driver\ReadPreference::getHedgeDevuelve la opción "hedge" del ReadPreference

Descripción

final public MongoDB\Driver\ReadPreference::getHedge(): ?object

Parámetros

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

Valores devueltos

Devuelve la opción "hedge" del ReadPreference. Returns the ReadPreference's "hedge" option.

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