MongoDB\Driver\WriteError::getInfo
(mongodb >=1.0.0)
MongoDB\Driver\WriteError::getInfo — Returns additional metadata for the WriteError
参数
此函数没有参数。
返回值
Returns additional metadata for the WriteError, or NULL
if no metadata is available.
错误/异常
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.