MongoDB\Driver\ReadPreference::getHedge
(mongodb >=1.8.0)
MongoDB\Driver\ReadPreference::getHedge — Returns the ReadPreference's "hedge" option
Beschreibung
final public MongoDB\Driver\ReadPreference::getHedge
(
) : object|null
Parameter-Liste
Diese Funktion besitzt keine Parameter.
Rückgabewerte
Returns the ReadPreference's "hedge" option.
Fehler/Exceptions
- Throws MongoDB\Driver\InvalidArgumentException on argument parsing errors.