PHP - Manual: MongoDB\Driver\Exception\CommandException
2025-02-27
(mongodb >= 1.5.0)
Thrown when a command fails.
The result document associated with the failed command.
官方地址:https://www.php.net/manual/en/class.mongodb-driver-exception-commandexception.php