MongoDB\Driver\ReadPreference::getHedge
(mongodb >=1.8.0)
MongoDB\Driver\ReadPreference::getHedge — Returns the ReadPreference's "hedge" option
Description
Parameters
This function has no parameters.
Return Values
Returns the ReadPreference's "hedge" option.
Errors/Exceptions
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.