Php/docs/mongodb-driver-readpreference.gethedge

来自菜鸟教程
跳转至:导航、​搜索

MongoDB\Driver\ReadPreference::getHedge

(mongodb >=1.8.0)

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


说明

final public MongoDB\Driver\ReadPreference::getHedge ( ) : object|null

参数

此函数没有参数。


返回值

Returns the ReadPreference's "hedge" option.


错误/异常