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