MongoCursor
PHP Manual

MongoCursor::count

(PECL mongo >=0.9.2)

MongoCursor::countCounts the number of results for this query

Opis

public int MongoCursor::count ( void )

Parametry

Ta funkcja nie posiada parametrów.

Zwracane wartości

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


MongoCursor
PHP Manual