CascadiaPHP 2024

MongoDB\BSON\PackedArray::getIterator

(mongodb >=1.16.0)

MongoDB\BSON\PackedArray::getIteratorReturns an iterator for the BSON array

Description

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

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top