|
MongoDB\Driver\WriteConcern::getWReturns the WriteConcern's "w" option Description
final public string|int|null MongoDB\Driver\WriteConcern::getW
( void
)
ParametersThis function has no parameters. Return ValuesReturns the WriteConcern's "w" option. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\WriteConcern::getW example
<?php The above example will output: int(1) string(8) "majority" See Also |