MongoCommandCursor
PHP Manual

MongoCommandCursor::key

(PECL mongo >=1.5.0)

MongoCommandCursor::keyReturns the current result's index within the result set

설명

public int MongoCommandCursor::key ( void )

인수

이 함수는 인수가 없습니다.

반환값

The current result's index within the result set.

참고


MongoCommandCursor
PHP Manual