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