PHP - Manual: MongoDB\BSON\Document::offsetExists
2025-02-27
(mongodb >=1.17.0)
MongoDB\BSON\Document::offsetExists — Returns whether a key is present in the document
key
The key to look for in the document.
官方地址:https://www.php.net/manual/en/mongodb-bson-document.offsetexists.php