PHP 8.4.2 Released!

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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top