MongoDB\Driver\WriteConcernError::getCodeReturns the WriteConcernError's error code Description
final public int MongoDB\Driver\WriteConcernError::getCode
( void
)
ParametersThis function has no parameters. Return ValuesReturns the WriteConcernError's error code. Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\WriteConcernError::getCode example
<?php The above example will output something similar to: int(64) See Also |