MongoCursor::current

(PECL mongo >=0.9.0)

MongoCursor::currentReturns the current element

Descrierea

public MongoCursor::current ( ) : array

This returns null until MongoCursor::next() is called.

Parametri

Această funcție nu are parametri.

Valorile întoarse

The current result document as an associative array. null will be returned if there is no result.

A se vedea și

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top