Php/docs/mongocursorinterface.info

提供:Dev Guides
< Php
2020年12月14日 (月) 09:25時点におけるNotes (トーク | 投稿記録)による版 (autoload)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先:案内検索

MongoCursorInterface::info

(PECL mongo >=1.5.0)

MongoCursorInterface::infoGets information about the cursor's creation and iteration


説明

abstract public MongoCursorInterface::info ( ) : array

Returns information about the cursor's creation and iteration. This can be called before or after the cursor has started iterating.


パラメータ

この関数にはパラメータはありません。


返り値

Returns the namespace, batch size, limit, skip, flags, query, and projected fields for this cursor. If the cursor has started iterating, additional information about iteration and the connection will be included.