MongoDB\Driver\ReadConcern::getLevelReturns the ReadConcern's "level" option Description
final public string|null MongoDB\Driver\ReadConcern::getLevel
( void
)
ParametersThis function has no parameters. Return ValuesReturns the ReadConcern's "level" option. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\ReadConcern::getLevel example
<?php The above example will output: NULL string(5) "local" string(8) "majority" See Also |