MongoDB\BSON\Document::getIterator
(mongodb >=1.16.0)
MongoDB\BSON\Document::getIterator — Returns an iterator for the BSON document
说明
参数
此函数没有参数。
返回值
Returns a MongoDB\BSON\Iterator instance that can be used to iterate over all keys in the document.
错误/异常
- Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors.
- Throws MongoDB\Driver\Exception\UnexpectedValueException if the BSON iterator could not be initialized.
参见
+添加备注
用户贡献的备注
此页面尚无用户贡献的备注。
备份地址:http://www.lvesu.com/blog/php/mongodb-bson-document.getiterator.php