array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'mongodb-bson-document.getiterator.php', 1 => 'MongoDB\\BSON\\Document::getIterator', 2 => 'Returns an iterator for the BSON document', ), 'up' => array ( 0 => 'class.mongodb-bson-document.php', 1 => 'MongoDB\\BSON\\Document', ), 'prev' => array ( 0 => 'mongodb-bson-document.get.php', 1 => 'MongoDB\\BSON\\Document::get', ), 'next' => array ( 0 => 'mongodb-bson-document.has.php', 1 => 'MongoDB\\BSON\\Document::has', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/mongodb/bson/document/getiterator.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(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.