|
MongoDB\Driver\ReadPreference::getModeReturns the ReadPreference's "mode" option Description
final public integer MongoDB\Driver\ReadPreference::getMode
( void
)
ParametersThis function has no parameters. Return ValuesReturns the ReadPreference's "mode" option. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\ReadPreference::getMode example
<?php The above example will output: int(1) int(5) int(2) int(6) int(10) See Also |