MongoDB\BSON\Document::has
(mongodb >=1.16.0)
MongoDB\BSON\Document::has — Returns whether a key is present in the document
パラメータ
key
(string)-
The key to look for in the document.
エラー / 例外
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
参考
- MongoDB\BSON\Document::get() - Returns the value of a key in the document
- » BSON Types
+add a note
User Contributed Notes
There are no user contributed notes for this page.
↑ and ↓ to navigate •
Enter to select •
Esc to close
Press Enter without
selection to search using Google