MongoCommandCursor::current

(PECL mongo >=1.5.0)

MongoCommandCursor::currentReturns the current element

Descrierea

public MongoCommandCursor::current ( ) : array

This returns null until MongoCommandCursor::rewind() 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