« MongoDB\BSON\PackedArray::__toString
MongoDB\BSON\Iterator::__construct »
PHP Manual
MongoDB\BSON
The MongoDB\BSON\Iterator class
検索
The MongoDB\BSON\Iterator class
(mongodb >=1.16.0)
はじめに
Iterator used to iterate a BSON document or array.
クラス概要
final
class
MongoDB\BSON\Iterator
implements
Iterator
{
/* メソッド */
final
private
function
__construct
()
public
function
current
():
mixed
public
function
key
():
string
|
int
public
function
next
():
void
public
function
rewind
():
void
public
function
valid
():
bool
}
目次
MongoDB\BSON\Iterator::__construct
— Construct a new BSON iterator (unused)
MongoDB\BSON\Iterator::current
— Returns the current element
MongoDB\BSON\Iterator::key
— Returns the key of the current element
MongoDB\BSON\Iterator::next
— Advances the iterator to next element
MongoDB\BSON\Iterator::rewind
— Rewinds the Iterator to the first element
MongoDB\BSON\Iterator::valid
— Checks if current position is valid
関連キーワード:
Iterator
MongoDB
current
element
construct
next
valid
final
rewind
iterator
PackedArray
toString
mongodb
used
iterate
document
概要
implements
private
mixed
function key
目次
Construct
unused
Advances
関連する関数・ページ:
mongodb-bson-iterator.key
mongodb-bson-iterator.current
mongodb-bson-iterator.next
mongodb-bson-iterator.rewind
mongodb-bson-iterator.construct
iterator.current