php8.5
Home/ Manual/ driver / writeerror/ MongoDB\Driver\WriteError::getInfo

MongoDB\Driver\WriteError::getInfo

PHP function Edit on GitHub ✎

(mongodb >=1.0.0)

Returns metadata document for the WriteError

Description

MongoDB\Driver\WriteError::getInfo(): object|null

Parameters Parameters

Return Values

Returns the metadata document for the WriteError, or null if no metadata is available.

Errors/Exceptions

Source: reference/mongodb/mongodb/driver/writeerror/getinfo.xml · from the official PHP manual (php/doc-en)