MongoDB\Driver\ReadPreference::getHedge

(mongodb >=1.8.0)

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

說明

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

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

Returns the ReadPreference's "hedge" option.

錯(cuò)誤/異常