MongoCursor::current

(PECL mongo >=0.9.0)

MongoCursor::currentReturns the current element

说锟斤拷

public MongoCursor::current ( void ) : array

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

锟斤拷锟斤拷

锟剿猴拷锟斤拷没锟叫诧拷锟斤拷锟斤拷

锟斤拷锟斤拷值

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

锟轿硷拷