MongoCursor
PHP Manual

MongoCursor::count

(PECL mongo >=0.9.2)

MongoCursor::countCounts the number of results for this query

Описание

public int MongoCursor::count ( void )

Список параметров

This function has no parameters.

Возвращаемые значения

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


MongoCursor
PHP Manual