MongoCursor::valid

(PECL mongo >=0.9.0)

MongoCursor::validChecks if the cursor is reading a valid result

说锟斤拷

public MongoCursor::valid ( void ) : bool

锟斤拷锟斤拷

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

锟斤拷锟斤拷值

TRUE if the current result is not null, and FALSE otherwise.

锟轿硷拷