MongoDB\BSON\Document::getIterator

(mongodb >=1.16.0)

MongoDB\BSON\Document::getIteratorReturns an iterator for the BSON document

说明

final public MongoDB\BSON\Document::getIterator(): MongoDB\BSON\Iterator

参数

此函数没有参数。

返回值

Returns a MongoDB\BSON\Iterator instance that can be used to iterate over all keys in the document.

错误/异常