PHP - Manual: MongoDB\BSON\PackedArray::getIterator
2025-02-27
(mongodb >=1.16.0)
MongoDB\BSON\PackedArray::getIterator — Returns an iterator for the BSON array
此函数没有参数。
Returns a MongoDB\BSON\Iterator instance that can be used to iterate over all indexes in the array.
官方地址:https://www.php.net/manual/en/mongodb-bson-packedarray.getiterator.php