MongoCommandCursor::current

(PECL mongo >=1.5.0)

MongoCommandCursor::currentReturns the current element

說明

public array MongoCommandCursor::current ( void )

This returns NULL until MongoCommandCursor::next() is called.

參數

此函式沒有參數。

回傳值

The current result as an associative array.

add a note add a note

User Contributed Notes

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