MongoCursor
PHP Manual

MongoCursor::count

(PECL mongo >=0.9.2)

MongoCursor::countCounts the number of results for this query

설명

public int MongoCursor::count ( void )

인수

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

반환값

The number of documents returned by this cursor's query.


MongoCursor
PHP Manual