PHP - Manual: MongoDB\BSON\Document::offsetUnset
2025-02-27
(mongodb >=1.17.0)
MongoDB\BSON\Document::offsetUnset — Implementation of ArrayAccess
Unsets the value at the specified index.
key
The index being unset.
没有返回值。
官方地址:https://www.php.net/manual/en/mongodb-bson-document.offsetunset.php