MongoDB\Driver\ReadPreference::getHedge

(mongodb >=1.8.0)

MongoDB\Driver\ReadPreference::getHedgeReturns the ReadPreference's "hedge" option

Description

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

Parameters

This function has no parameters.

Return Values

Returns the ReadPreference's "hedge" option.

Errors/Exceptions