MongoDB\Driver\WriteConcernError::getInfoReturns additional metadata for the WriteConcernError Description
final public mixed MongoDB\Driver\WriteConcernError::getInfo
( void
)
ParametersThis function has no parameters. Return Values
Returns additional metadata for the WriteConcernError, or Errors/Exceptions
ExamplesExample #1 MongoDB\Driver\WriteConcernError::getInfo example
<?php The above example will output something similar to: object(stdClass)#1 (1) { ["wtimeout"]=> bool(true) } See Also |