MongoDB\BSON\Document::offsetExists
(mongodb >=1.17.0)
MongoDB\BSON\Document::offsetExists — Returns whether a key is present in the document
Parameters
key
The key to look for in the document.
See Also
- ArrayAccess::offsetExists() - Whether an offset exists
- MongoDB\BSON\Document::has() - Returns whether a key is present in the document
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
